<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/"></div></div><div><a data-url="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/" data-counturl="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/" data-count="horizontal" data-text="Rcpp 0.12.5: Yet another one" 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="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>The fifth update in the 0.12.* series of <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> has arrived on the <a target="_blank" href="http://cran.r-project.org/">CRAN</a> network for <a target="_blank" href="http://www.r-project.org/">GNU R</a> a few hours ago, and was just pushed to <a target="_blank" href="http://www.debian.org/">Debian</a>. This 0.12.5 release follows the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2015/07/25#rcpp_0.12.0">0.12.0 release</a> from late July, the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2015/09/10#rcpp_0.12.1">0.12.1 release</a> in September, the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2015/11/15#rcpp_0.12.2">0.12.2 release</a> in November, the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/01/10#rcpp_0.12.3">0.12.3 release</a> in January, and the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/03/26#rcpp_0.12.4">0.12.4 release</a> in March — making it the ninth release at the steady bi-montly release frequency. This release is one again more of a maintenance release addressing a number of small bugs, nuisances or documentation issues without adding any major new features.</p>
<p><a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> has become <em>the</em> most popular way of enhancing <a target="_blank" href="http://www.r-project.org/">GNU R</a> with C or C++ code. As of today, 662 packages on <a target="_blank" href="http://cran.r-project.org/">CRAN</a> depend on <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> for making analytical code go faster and further. That is up by almost fifty packages from the last release in late March!</p>
<p>And as during the last few releases, we have first-time committers. we have new first-time contributors. <a target="_blank" href="https://github.com/lostie">Sergio Marques</a> helped to enable compilation on Alpine Linux (with its smaller libc variant). <a target="_blank" href="https://github.com/qinwf">Qin Wenfeng</a> helped adapt for Windows builds under R 3.3.0 and the long-awaited new toolchain. <a target="_blank" href="http://www.columbia.edu/~bg2382/">Ben Goodrich</a> fixed a (possibly ancient) Rcpp Modules bug he encountered when working with <a target="_blank" href="http://mc-stan.org/interfaces/rstan">rstan</a>. Other (recurrent) contributor <a target="_blank" href="https://github.com/dcdillon">Dan Dillon</a> cleaned up an issue with <code>Nullable</code> and strings. Rcpp Core team members Kevin and JJ took care of small build nuisance on Windows, and I added in a new helper function, updated the skeleton generator and (finally) formally deprecated <code>loadRcppModule()</code> for which <code>loadModule()</code> has been preferred since around R 2.15 or so. More details and links are below.</p>
<blockquote>
<h4>
Changes in Rcpp version 0.12.5 (2016-05-14)<br>
</h4>
<ul>
<li>
<p>
Changes in Rcpp API:
</p>
<ul>
<li>
<p>
The checks for different C library implementations now also check for Musl used by Alpine Linux (Sergio Marques in PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/449">#449</a>).
</p>
</li>
<li>
<p>
<code>Rcpp::Nullable</code> works better with Rcpp::String (Dan Dillon in PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/453">#453</a>).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp Attributes:
</p>
<ul>
<li>
<p>
R 3.3.0 Windows with Rtools 3.3 is now supported (Qin Wenfeng in PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/451">#451</a>).
</p>
</li>
<li>
<p>
Correct handling of dependent file paths on Windows (use winslash = &quot;/&quot;).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp Modules:
</p>
<ul>
<li>
<p>
An apparent race condition in Module loading seen with R 3.3.0 was fixed (Ben Goodrich in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/461">#461</a> fixing <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/458">#458</a>).
</p>
</li>
<li>
<p>
The (older) <code>loadRcppModules()</code> is now deprecated in favour of <code>loadModule()</code> introduced around R 2.15.1 and Rcpp 0.9.11 (PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/470">#470</a>).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp support functions:
</p>
<ul>
<li>
<p>
The <code>Rcpp.package.skeleton()</code> function was again updated in order to create a <code>DESCRIPTION</code> file which passes <code>R CMD check</code> without notes. warnings, or error under R-release and R-devel (PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/471">#471</a>).
</p>
</li>
<li>
<p>
A new function <code>compilerCheck</code> can test for minimal <code>g++</code> versions (PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/474">#474</a>).
</p>
</li>
</ul>
</li>
</ul>
</blockquote>
<p>Thanks to <a target="_blank" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a>, you can also look at a <a target="_blank" href="http://dirk.eddelbuettel.com/cranberries/2016/05/14#Rcpp_0.12.5">diff to the previous release</a>. As always, even fuller details are on the <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.changelog.html">Rcpp Changelog page</a> and the <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp page</a> which also leads to the downloads page, the <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp/html/index.html">browseable doxygen docs</a> and zip files of doxygen output for the standard formats. A <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp/">local directory</a> has source and documentation too. Questions, comments etc should go to the <a target="_blank" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel">rcpp-devel mailing list</a> off the <a target="_blank" href="http://r-forge.r-project.org/projects/rcpp/">R-Forge page</a>.</p>
<p>
This post by <a target="_blank" href="http://dirk.eddelbuettel.com/">Dirk Eddelbuettel</a> originated on his <a target="_blank" href="http://dirk.eddelbuettel.com/blog/">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.</p>
<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="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/"></div></div><div><a data-url="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/" data-counturl="http://www.r-bloggers.com/rcpp-0-12-5-yet-another-one/" data-count="vertical" data-text="Rcpp 0.12.5: Yet another one" 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="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5"> Thinking inside the box </a></strong>.</div>
<hr>
<a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="http://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="http://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="http://www.r-bloggers.com/?s=data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="http://www.r-bloggers.com/?s=Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="http://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="http://www.r-bloggers.com/?s=map">maps</a>, <a title="Animation in R" rel="nofollow" href="http://www.r-bloggers.com/?s=animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="http://www.r-bloggers.com/?s=sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="http://www.r-bloggers.com/?s=LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="http://www.r-bloggers.com/?s=SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="http://www.r-bloggers.com/?s=eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="http://www.r-bloggers.com/?s=git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="http://www.r-bloggers.com/?s=hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="http://www.r-bloggers.com/?s=Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="http://www.r-bloggers.com/?s=regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="http://www.r-bloggers.com/?s=PCA">PCA</a>, <a title="Time series" rel="nofollow" href="http://www.r-bloggers.com/?s=time+series">time series</a>, <a title="finance trading" rel="nofollow" href="http://www.r-bloggers.com/?s=trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/Mf99bbXuAp8"></a></div>