<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/r-3-3-3-is-released/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.r-statistics.com/2017/03/r-3-3-3-is-released/"> R – R-statistics blog</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>R 3.3.3 (codename “Another Canoe”) was <a target="_blank" rel="nofollow" href="http://r.789695.n4.nabble.com/R-3-3-3-is-released-td4729422.html">released yesterday</a> You can get the latest binaries version <strong><a target="_blank" rel="nofollow" href="https://cran.rstudio.com/">from here</a>.</strong> (or the .tar.gz <strong>source</strong> code from <a target="_blank" rel="nofollow" href="https://cran.r-project.org/src/base/R-3/R-3.3.3.tar.gz">here</a>). The full list of bug fixes and new features is provided below.</p>
<p>A quick <a target="_blank" rel="nofollow" href="http://blog.revolutionanalytics.com/2017/03/r-333-now-available.html">summary by David Smith</a>:</p>
<blockquote><p>R 3.3.3 fixes an issue related to attempting to use <a target="_blank" rel="nofollow" href="https://www.rdocumentation.org/packages/utils/versions/3.3.2/topics/download.file">download.file</a> on sites that automatically redirect from http to https: now, R will re-attempt to download the secure link rather than failing. Other fixes include support for long vectors in the <a target="_blank" rel="nofollow" href="https://www.rdocumentation.org/packages/base/versions/3.3.2/topics/lapply">vapply</a> function, the ability to use <a target="_blank" rel="nofollow" href="https://www.rdocumentation.org/packages/base/versions/3.3.2/topics/Extremes">pmax</a> (and pmin) on ordered factors, improved accuracy for qbeta for some extreme cases, corrected spelling for “Cincinnati” in the <a target="_blank" rel="nofollow" href="https://www.rdocumentation.org/packages/datasets/versions/3.3.2/topics/precip">precip</a> data set, and a few other minor issues.</p>
</blockquote>
<h3>Upgrading to R 3.3.3 on Windows</h3>
<p>If you are using <strong>Windows </strong>you can easily upgrade to the latest version of R using <a target="_blank" rel="nofollow" href="https://cran.r-project.org/web/packages/installr/">the installr package</a>. Simply run the following code in Rgui:</p>
<div>
<table>
<tr>
<td>
<pre><span>install.<span>packages</span></span><span>(</span><span>&quot;installr&quot;</span><span>)</span> <span># install </span>
setInternet2<span>(</span>TRUE<span>)</span> <span># only for R versions older than 3.3.0</span>
installr<span>::</span><span>updateR</span><span>(</span><span>)</span> <span># updating R.</span></pre>
</td>
</tr>
</table>
</div>
<p><span>Running “updateR()” will detect if there is a new R version available, and if so it will download+install it (etc.). There is also <a target="_blank" rel="nofollow" href="https://www.r-statistics.com/2015/06/a-step-by-step-screenshots-tutorial-for-upgrading-r-on-windows/">a step by step tutorial (with screenshots) on how to upgrade R on Windows, using the <em>installr</em></a> package. If you only see the option to upgrade to an older version of R, then change your mirror or try again in a few hours (it usually take around 24 hours for all CRAN mirrors to get the latest version of R).</span></p>
<p><em>I try to keep the <a target="_blank" rel="nofollow" href="https://github.com/talgalili/installr">installr</a> package updated and useful, so if you have any suggestions or remarks on the package – you are invited to <a target="_blank" rel="nofollow" href="https://github.com/talgalili/installr/issues">open an issue in the github page</a>.</em></p>
<p><span></span></p>
<h3>CHANGES IN R 3.3.3</h3>
<h4>NEW FEATURES</h4>
<ul>
<li>Changes when redirection of a <span>http://</span> URL to a <span>https://</span> URL is encountered:
<ul>
<li>The internal methods of <code>download.file()</code> and <code>url()</code> now report that they cannot follow this (rather than failing silently).</li>
<li>(Unix-alike) <code>download.file(method = &quot;auto&quot;)</code> (the default) re-tries with <code>method = &quot;libcurl&quot;</code>.</li>
<li>(Unix-alike) <code>url(method = &quot;default&quot;)</code> with an explicit <code>open</code> argument re-tries with <code>method = &quot;libcurl&quot;</code>. This covers many of the usages, e.g. <code>readLines()</code> with a URL argument.</li>
</ul>
</li>
</ul>
<h4>INSTALLATION on a UNIX-ALIKE</h4>
<ul>
<li>The <code>configure</code> check for the <code>zlib</code> version is now robust to versions longer than 5 characters, including <code>1.2.11</code>.</li>
</ul>
<h4>UTILITIES</h4>
<ul>
<li>Environmental variable <span>_R_CHECK_TESTS_NLINES_</span> controls how <code>R CMD check</code> reports failing tests (see §8 of the ‘R Internals’ manual).</li>
</ul>
<h4>DEPRECATED AND DEFUNCT</h4>
<ul>
<li>(C-level Native routine registration.) The undocumented <code>styles</code> field of the components of <code>R_CMethodDef</code> and <code>R_FortranMethodDef</code> is deprecated.</li>
</ul>
<h4>BUG FIXES</h4>
<ul>
<li><code>vapply(x, *)</code> now works with long vectors <code>x</code>. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17174">PR#17174</a>)</li>
<li><code>isS3method(&quot;is.na.data.frame&quot;)</code> and similar are correct now. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17171">PR#17171</a>)</li>
<li><code>grepRaw(&lt;long>, &lt;short>, fixed = TRUE)</code> now works, thanks to a patch by Mikko Korpela. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17132">PR#17132</a>)</li>
<li>Package installation into a library where the package exists <em>via</em> symbolic link now should work wherever <code>Sys.readlink()</code> works, resolving <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16725">PR#16725</a>.</li>
<li><code>&quot;Cincinnati&quot;</code> was missing an <code>&quot;n&quot;</code> in the <code>precip</code> dataset.</li>
<li>Fix buffer overflow vulnerability in <code>pdf()</code> when loading an encoding file. Reported by Talos (TALOS-2016-0227).</li>
<li><code>getDLLRegisteredRoutines()</code> now produces its warning correctly when multiple DLLs match, thanks to Matt Dowle’s <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17184">PR#17184</a>.</li>
<li><code>Sys.timezone()</code> now returns non-NA also on platforms such as <span>Ubuntu 14.04.5 LTS</span>, thanks to Mikko Korpela’s <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17186">PR#17186</a>.</li>
<li><code>format(x)</code> for an illegal <code>&quot;POSIXlt&quot;</code> object <code>x</code> no longer segfaults.</li>
<li><code>methods(f)</code> now also works for <code>f</code> <code>&quot;(&quot;</code> or <code>&quot;{&quot;</code>.</li>
<li>(Windows only) <code>dir.create()</code> did not check the length of the path to create, and so could overflow a buffer and crash <b>R</b>. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17206">PR#17206</a>)</li>
<li>On some systems, very small hexadecimal numbers in hex notation would underflow to zero. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17199">PR#17199</a>)</li>
<li><code>pmin()</code> and <code>pmax()</code> now work again for <code>ordered</code> factors and 0-length S3 classed objects, thanks to Suharto Anggono’s <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17195">PR#17195</a> and <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17200">PR#17200</a>.</li>
<li><code>bug.report()</code> did not do any validity checking on a package’s <span>BugReports</span> field. It now ignores an empty field, removes leading whitespace and only attempts to open <span>http://</span> and <span>https://</span> URLs, falling back to emailing the maintainer.</li>
<li>Bandwidth selectors <code>bw.ucv()</code> and <code>bw.SJ()</code> gave incorrect answers or incorrectly reported an error (because of integer overflow) for inputs longer than 46341. Similarly for <code>bw.bcv()</code> at length 5793.
<p>Another possible integer overflow is checked and may result in an error report (rather than an incorrect result) for much longer inputs (millions for a smooth distribution).
<li><code>findMethod()</code> failed if the active signature had expanded beyond what a particular package used. (Example with packages <a target="_blank" rel="nofollow" href="https://cran.r-project.org/package=XR"><span>XR</span></a> and <a target="_blank" rel="nofollow" href="https://cran.r-project.org/package=XRJulia"><span>XRJulia</span></a> on <acronym><span>CRAN</span></acronym>.)</li>
<li><code>qbeta()</code> underflowed too early in some very asymmetric cases. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17178">PR#17178</a>)</li>
<li><code>R CMD Rd2pdf</code> had problems with packages with non-ASCII titles in ‘<span>.Rd</span>’ files (usually the titles were omitted).</li>

<p><img alt="logo" class="wp-image-61379" src="https://i2.wp.com/www.r-statistics.com/wp-content/uploads/2016/03/logo.jpg?resize=100%2C76&ssl=1" data-recalc-dims="1"></p>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="https://www.r-statistics.com/2017/03/r-3-3-3-is-released/"> R – R-statistics blog</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/IQ-q_aHzHcg"></a></div></ul>