<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/rcpp-0-12-7-more-updates/"></div></div><div><a data-url="https://www.r-bloggers.com/rcpp-0-12-7-more-updates/" data-counturl="https://www.r-bloggers.com/rcpp-0-12-7-more-updates/" data-count="horizontal" data-text="Rcpp 0.12.7: More updates" 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/09/04#rcpp_0.12.7"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>The seventh update in the 0.12.* series of <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> just 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> as well as in <a target="_blank" href="http://www.debian.org/">Debian</a>. This 0.12.7 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, the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/03/26#rcpp_0.12.4">0.12.4 release</a> in March, the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5">0.12.5 release</a> in May, and the <a target="_blank" href="http://dirk.eddelbuettel.com/blog/2016/07/19#rcpp_0.12.6">0.12.6 release</a> in July — making it the eleventh release at the steady bi-montly release frequency. Keeping with the established pattern, this is again more of a maintenance release which addresses small bugs, nuisances or documentation issues without adding any major new features. One issue that got to a few people was our casual use of <code>NORET</code> in the definition of <code>Rcpp::stop()</code>. We had (ahem) overlooked that <code>NORET</code> is only defined by R 3.2.0 or later, and several folks trying to build on older releases of R (why?) got bitten. Well, at least we have a new record for most frequently reported bug … Kidding aside, this is now fixed.</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, 759 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 well over fifty packages since the last release in mid-July!</p>
<p>We are once again fortunate to have a number of pull request, from first-timers to regulars. <a target="_blank" href="http://thecoatlessprofessor.com/">James &quot;coatless&quot; Balamuta</a> in particular relentlessly pushed for better documentation and cleanup of numerous dangling issue tickets. <a target="_blank" href="http://statexpert.org/">Artem Klevtsov</a> also contributed again. Qiang, Kevin and I also got some changes in for the Rcpp Core team. More details are again below.</p>
<blockquote>
<h4>
Changes in Rcpp version 0.12.7 (2016-09-04)<br>
</h4>
<ul>
<li>
<p>
Changes in Rcpp API:
</p>
<ul>
<li>
<p>
The <code>NORET</code> macro is now defined if it was not already defined by R itself (Kevin fixing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/512">#512</a>).
</p>
</li>
<li>
<p>
Environment functions get() &amp; find() now accept a Symbol (James Balamuta in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/513">#513</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/326">#326</a>).
</p>
</li>
<li>
<p>
Several uses of <code>Rf_eval</code> were replaced by the preferred <code>Rcpp::Rcpp_eval</code> (Qiang in PR <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/523">#523</a> closing <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/498">#498</a>).
</p>
</li>
<li>
<p>
Improved Autogeneration Warning for RcppExports (James Balamuta in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/528">#528</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/526">#526</a>).
</p>
</li>
<li>
<p>
Fixed invalid C++ prefix identifiers in auto-generated code (James Balamuta in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/528">#528</a> and <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/531">#531</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/387">#387</a>; Simon Dirmeier in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/548">#548</a>).
</p>
</li>
<li>
<p>
String constructors now set default UTF-8 encoding (Qiang Kou in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/529">#529</a> fixing <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/263">#263</a>).
</p>
</li>
<li>
<p>
Add variadic variants of the <code>RCPP_RETURN_VECTOR</code> and <code>RCPP_RETURN_MATRIX</code> macro when C++11 compiler used (Artem Klevtsov in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/537">#537</a> fixing <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/38">#38</a>).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp build system
</p>
<ul>
<li>
<p>
Travis CI is now driven via <code>run.sh</code> from our fork, and deploys all packages as .deb binaries using our PPA where needed (Dirk in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/540">#540</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/517">#517</a>).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp unit tests
</p>
<ul>
<li>
<p>
New unit tests for random number generators the R namespace which call the standalone Rmath library. (James Balamuta in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/514">#514</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/28">#28</a>).
</p>
</li>
</ul>
</li>
<li>
<p>
Changes in Rcpp Examples:
</p>
<ul>
<li>
<p>
Examples that used cxxfunction() from the inline package have been rewritten to use either sourceCpp() or cppFunction() (James Balamuta in <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/541">#541</a>, <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/535">#535</a>, <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/534">#534</a>, and <a target="_blank" href="https://github.com/RcppCore/Rcpp/pull/532">#532</a> addressing issue <a target="_blank" href="https://github.com/RcppCore/Rcpp/issues/56">#56</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/09/04#Rcpp_0.12.7">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="https://www.r-bloggers.com/rcpp-0-12-7-more-updates/"></div></div><div><a data-url="https://www.r-bloggers.com/rcpp-0-12-7-more-updates/" data-counturl="https://www.r-bloggers.com/rcpp-0-12-7-more-updates/" data-count="vertical" data-text="Rcpp 0.12.7: More updates" 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/09/04#rcpp_0.12.7"> Thinking inside the box </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/eA2dY6fNgco"></a></div>