<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/r-3-4-1-is-released-with-some-windows-related-bug-fixes/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="https://www.r-statistics.com/2017/07/r-3-4-1-is-released-with-some-windows-related-bug-fixes/"> 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.4.1 (codename “Single Candle”) was <a rel="nofollow" href="https://stat.ethz.ch/pipermail/r-announce/2017/000616.html" target="_blank">released several days ago</a>. You can get the latest binaries version <strong><a rel="nofollow" href="https://cran.rstudio.com/" target="_blank">from here</a>.</strong> (or the .tar.gz <strong>source</strong> code from <a rel="nofollow" href="https://cran.r-project.org/src/base/R-3/R-3.4.1.tar.gz" target="_blank">here</a>).</p>
<p>As mentioned <a rel="nofollow" href="http://blog.revolutionanalytics.com/2017/06/r-341-single-candle-released.html" target="_blank">last week</a> by David Smith, R 3.4.1 includes several Windows related bug fixed:</p>
<blockquote><p>including an issue sometimes encountered when attempting to install packages on Windows, and problems displaying functions including Unicode characters (like “日本語”) in the Windows GUI.</p>
</blockquote>
<p> </p>
<p>The full list of bug fixes and new features is provided below.</p>
<h3>Upgrading to R 3.4.1 on Windows</h3>
<p>If you are using <strong>Windows </strong>you can easily upgrade to the latest version of R using <a rel="nofollow" href="https://cran.r-project.org/web/packages/installr/" target="_blank">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>
<span># If you wish it to go faster, run: installr::updateR(T)</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 rel="nofollow" href="https://www.r-statistics.com/2015/06/a-step-by-step-screenshots-tutorial-for-upgrading-r-on-windows/" target="_blank">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 rel="nofollow" href="https://github.com/talgalili/installr" target="_blank">installr</a> package updated and useful, so if you have any suggestions or remarks on the package – you are invited to <a rel="nofollow" href="https://github.com/talgalili/installr/issues" target="_blank">open an issue in the github page</a>.</em></p>
<p><span></span></p>
<h3>CHANGES IN R 3.4.1</h3>
<h4>INSTALLATION on a UNIX-ALIKE</h4>
<ul>
<li>The deprecated support for PCRE versions older than 8.20 has been removed.</li>
</ul>
<h4>BUG FIXES</h4>
<ul>
<li><code>getParseData()</code> gave incorrect column information when code contained multi-byte characters. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17254" target="_blank">PR#17254</a>)</li>
<li>Asking for help using expressions like <code>?stats::cor()</code> did not work. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17250" target="_blank">PR#17250</a>)</li>
<li><code>readRDS(url(....))</code> now works.</li>
<li><code>R CMD Sweave</code> again returns <span>status = 0</span> on successful completion.</li>
<li>Vignettes listed in ‘<span>.Rbuildignore</span>’ were not being ignored properly. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17246" target="_blank">PR#17246</a>)</li>
<li><code>file.mtime()</code> no longer returns NA on Windows when the file or directory is being used by another process. This affected <code>installed.packages()</code>, which is now protected against this.</li>
<li><code>R CMD INSTALL</code> Windows .zip file obeys <code>--lock</code> and <code>--pkglock</code> flags.</li>
<li>(Windows only) The <code>choose.files()</code> function could return incorrect results when called with <code>multi = FALSE</code>. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17270" target="_blank">PR#17270</a>)</li>
<li><code>aggregate(&lt;data.frame>, drop = FALSE)</code> now also works in case of near-equal numbers in <code>by</code>. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16918" target="_blank">PR#16918</a>)</li>
<li><code>fourfoldplot()</code> could encounter integer overflow when calculating the odds ratio. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17286" target="_blank">PR#17286</a>)</li>
<li><code>parse()</code> no longer gives spurious warnings when extracting srcrefs from a file not encoded in the current locale.
<p>This was seen from <code>R CMD check</code> with ‘<span>inst/doc/*.R</span>’ files, and <code>check</code> has some additional protection for such files.
<li><code>print.noquote(x)</code> now always returns its argument <code>x</code> (invisibly).</li>
<li>Non-UTF-8 multibyte character sets were not handled properly in source references. (<a rel="nofollow" href="https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16732" target="_blank">PR#16732</a>)</li>

<p> </p>
<p> </p>
<p><img alt="logo" src="https://i2.wp.com/www.r-statistics.com/wp-content/uploads/2016/03/logo.jpg?resize=100%2C76&ssl=1" class="wp-image-61379" 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/07/r-3-4-1-is-released-with-some-windows-related-bug-fixes/"> 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 rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/v00AS1vT8JI" height="1"></a></div></ul>