<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-2-is-released/"></div></div><div><a data-url="https://www.r-bloggers.com/r-3-3-2-is-released/" data-counturl="https://www.r-bloggers.com/r-3-3-2-is-released/" data-count="horizontal" data-text="R 3.3.2 is released!" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.r-statistics.com/2016/11/r-3-3-2-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.2 (codename “Sincere Pumpkin Patch”) was <a target="_blank" rel="nofollow" href="https://stat.ethz.ch/pipermail/r-announce/2016/000608.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.2.tar.gz">here</a>). The full list of bug fixes and new features is provided below.</p>
<h3>Upgrading to R 3.3.2 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.2</h3>
<h4>NEW FEATURES</h4>
<ul>
<li><code>extSoftVersion()</code> now reports the version (if any) of the <code>readline</code> library in use.</li>
<li>The version of LAPACK included in the sources has been updated to 3.6.1, a bug-fix release including a speedup for the non-symmetric case of <code>eigen()</code>.</li>
<li>Use <code>options(deparse.max.lines=)</code> to limit the number of lines recorded in <code>.Traceback</code> and other deparsing activities.</li>
<li><code>format(&lt;AsIs>)</code> looks more regular, also for non-character atomic matrices.</li>
<li><code>abbreviate()</code> gains an option <code>named = TRUE</code>.</li>
<li>The online documentation for package <span>methods</span> is extensively rewritten. The goals are to simplify documentation for basic use, to note old features not recommended and to correct out-of-date information.</li>
<li>Calls to <code>setMethod()</code> no longer print a message when creating a generic function in those cases where that is natural: S3 generics and primitives.</li>
</ul>
<h4>INSTALLATION and INCLUDED SOFTWARE</h4>
<ul>
<li>Versions of the <code>readline</code> library >= 6.3 had been changed so that terminal window resizes were not signalled to <code>readline</code>: code has been added using a explicit signal handler to work around that (when <b>R</b> is compiled against readline >= 6.3). (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16604">PR#16604</a>)</li>
<li><code>configure</code> works better with Oracle Developer Studio 12.5.</li>
</ul>
<h4>UTILITIES</h4>
<ul>
<li><code>R CMD check</code> reports more dubious flags in files ‘<span>src/Makevars[.in]</span>’, including <span>-w</span> and <span>-g</span>.</li>
<li><code>R CMD check</code> has been set up to filter important warnings from recent versions of <code>gfortran</code> with <span>-Wall -pedantic</span>: this now reports non-portable GNU extensions such as out-of-order declarations.</li>
<li><code>R CMD config</code> works better with paths containing spaces, even those of home directories (as reported by Ken Beath).</li>
</ul>
<h4>DEPRECATED AND DEFUNCT</h4>
<ul>
<li>Use of the C/C++ macro <span>NO_C_HEADERS</span> is deprecated (no C headers are included by <b>R</b> headers from C++ as from <b>R</b> 3.3.0, so it should no longer be needed).</li>
</ul>
<h4>BUG FIXES</h4>
<ul>
<li>The check for non-portable flags in <code>R CMD check</code> could be stymied by ‘<span>src/Makevars</span>’ files which contained targets.</li>
<li>(Windows only) When using certain desktop themes in Windows 7 or higher, <kbd>Alt-Tab</kbd> could cause <code>Rterm</code> to stop accepting input. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=14406">PR#14406</a>; patch submitted by Jan Gleixner.)</li>
<li><code>pretty(d, ..)</code> behaves better for date-time <code>d</code> (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16923">PR#16923</a>).</li>
<li>When an S4 class name matches multiple classes in the S4 cache, perform a dynamic search in order to obey namespace imports. This should eliminate annoying messages about multiple hits in the class cache. Also, pass along the package from the <code>ClassExtends</code> object when looking up superclasses in the cache.</li>
<li><code>sample(NA_real_)</code> now works.</li>
<li>Packages using non-ASCII encodings in their code did not install data properly on systems using different encodings.</li>
<li><code>merge(df1, df2)</code> now also works for data frames with column names <code>&quot;na.last&quot;</code>, <code>&quot;decreasing&quot;</code>, or <code>&quot;method&quot;</code>. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17119">PR#17119</a>)</li>
<li><code>contour()</code> caused a segfault if the <code>labels</code> argument had length zero. (Reported by Bill Dunlap.)</li>
<li><code>unique(warnings())</code> works more correctly, thanks to a new <code>duplicated.warnings()</code> method.</li>
<li><code>findInterval(x, vec = numeric(), all.inside = TRUE)</code> now returns <code>0</code>s as documented. (Reported by Bill Dunlap.)</li>
<li>(Windows only) <code>R CMD SHLIB</code> failed when a symbol in the resulting library had the same name as a keyword in the ‘<span>.def</span>’ file. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17130">PR#17130</a>)</li>
<li><code>pmax()</code> and <code>pmin()</code> now work with (more ?) classed objects, such as <code>&quot;Matrix&quot;</code> from the <a target="_blank" rel="nofollow" href="https://cran.r-project.org/package=Matrix"><span>Matrix</span></a> package, as documented for a long time.</li>
<li><code>axis(side, x = D)</code> and hence <code>Axis()</code> and <code>plot()</code> now work correctly for <code>&quot;Date&quot;</code> and time objects <code>D</code>, even when “time goes backward”, e.g., with decreasing <code>xlim</code>. (Reported by William May.)</li>
<li><code>str(I(matrix(..)))</code> now looks as always intended.</li>
<li><code>plot.ts()</code>, the <code>plot()</code> method for time series, now respects <code>cex</code>, <code>lwd</code> and <code>lty</code>. (Reported by Greg Werbin.)</li>
<li><code>parallel::mccollect()</code> now returns a named list (as documented) when called with <code>wait = FALSE</code>. (Reported by Michel Lang.)</li>
<li>If a package added a class to a class union in another package, loading the first package gave erroneous warnings about “undefined subclass”.</li>
<li><code>c()</code>‘s argument <code>use.names</code> is documented now, as belonging to the (C internal) default method. In “parallel”, argument <code>recursive</code> is also moved from the generic to the default method, such that the formal argument list of <span>base</span> generic <code>c()</code> is just <code>(...)</code>.</li>
<li><code>rbeta(4, NA)</code> and similarly <code>rgamma()</code> and <code>rnbinom()</code> now return <code>NaN</code>‘s with a warning, as other r&lt;dist>(), and as documented. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17155">PR#17155</a>)</li>
<li>Using <code>options(checkPackageLicense = TRUE)</code> no longer requires acceptance of the licence for non-default standard packages such as <span>compiler</span>. (Reported by Mikko Korpela.)</li>
<li><code>split(&lt;very_long>, *)</code> now works even when the split off parts are long. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17139">PR#17139</a>)</li>
<li><code>min()</code> and <code>max()</code> now also work correctly when the argument list starts with <code>character(0)</code>. (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17160">PR#17160</a>)</li>
<li>Subsetting very large matrices (<code>prod(dim(.)) >= 2^31</code>) now works thanks to Michael Schubmehl’s <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17158">PR#17158</a>.</li>
<li><code>bartlett.test()</code> used residual sums of squares instead of variances, when the argument was a list of <code>lm</code> objects. (Reported by Jens Ledet Jensen).</li>
<li><code>plot(&lt;lm>, which = *)</code> now correctly labels the contour lines for the standardized residuals for <code>which = 6</code>. It also takes the correct <i>p</i> in case of singularities (also for <code>which = 5</code>). (<a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17161">PR#17161</a>)</li>
<li><code>xtabs(~ exclude)</code> no longer fails from wrong scope, thanks to Suharto Anggono’s <a target="_blank" rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17147">PR#17147</a>.</li>
<li>Reference class calls to <code>methods()</code> did not re-analyse previously defined methods, meaning that calls to methods defined later would fail. (Reported by Charles Tilford).</li>
<li><code>findInterval(x, vec, left.open = TRUE)</code> misbehaved in some cases. (Reported by Dmitriy Chernykh.)</li>
</ul>
<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><div><div data-width="55" data-show-faces="false" data-send="true" data-layout="box_count" data-height="62" data-href="https://www.r-bloggers.com/r-3-3-2-is-released/"></div></div><div><a data-url="https://www.r-bloggers.com/r-3-3-2-is-released/" data-counturl="https://www.r-bloggers.com/r-3-3-2-is-released/" data-count="vertical" data-text="R 3.3.2 is released!" class="twitter-share-button" data-via="rbloggers" href="https://twitter.com/share"></a></div><div></div></div><div></div></div>
<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/2016/11/r-3-3-2-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/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/?s=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/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/HkDWkKqZw-U"></a></div>