<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-9-next-round/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/01/15#rcpp_0.12.9"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p>Yesterday afternoon, the nineth update in the 0.12.* series of <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> made it to the <a target="_blank" rel="nofollow" href="http://cran.r-project.org/">CRAN</a> network for <a target="_blank" rel="nofollow" href="http://www.r-project.org/">GNU R</a>. Windows binaries have by now been generated; and the package was updated in <a target="_blank" rel="nofollow" href="http://www.debian.org/">Debian</a> too. This 0.12.9 release follows the <a target="_blank" rel="nofollow" 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" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/09/10#rcpp_0.12.1">0.12.1 release</a> in September, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/11/15#rcpp_0.12.2">0.12.2 release</a> in November, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/01/10#rcpp_0.12.3">0.12.3 release</a> in January, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/03/26#rcpp_0.12.4">0.12.4 release</a> in March, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5">0.12.5 release</a> in May, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/07/19#rcpp_0.12.6">0.12.6 release</a> in July, the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/09/04#rcpp_0.12.7">0.12.7 release</a> in September, and the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/11/18#rcpp_0.12.8">0.12.8 release</a> in November — making it the thirteenth release at the steady bi-montly release frequency.</p>
<p><a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> has become <em>the</em> most popular way of enhancing <a target="_blank" rel="nofollow" href="http://www.r-project.org/">GNU R</a> with C or C++ code. As of today, 906 packages on <a target="_blank" rel="nofollow" href="http://cran.r-project.org/">CRAN</a> depend on <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp</a> for making analytical code go faster and further. That is up by sixthythree packages over the two months since the last release — or about a package a day!</p>
<p>Some of the changes in this release are smaller and detail-oriented. We did squash one annoying bug (stemming from the improved exception handling) in <code>Rcpp::stop()</code> that hit a few people. <a target="_blank" rel="nofollow" href="https://github.com/nathan-russell">Nathan Russell</a> added a <code>sample()</code> function (similar to the optional one in <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html">RcppArmadillo</a>; this required a minor cleanup by for small number of other packages which used both namespaces ‘opened’. <code>Date</code> and <code>Datetime</code> objects now have <code>format()</code> methods and <code>&lt;&lt;</code> output support. We now have coverage reports via <a target="_blank" rel="nofollow" href="https://github.com/jimhester/covr">covr</a> as well. Last but not least <a target="_blank" rel="nofollow" href="http://thecoatlessprofessor.com/">James &quot;coatless&quot; Balamuta</a> was once more tireless on documentation and API consistency — see below for more details.</p>
<blockquote>
<h4>Changes in Rcpp version 0.12.9 (2017-01-14)</h4>
<ul>
<li>
<p>Changes in Rcpp API:</p>
<ul>
<li>
<p>The exception stack message is now correctly demangled on all compiler versions (Jim Hester in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/598">#598</a>)</p>
</li>
<li>
<p>Date and Datetime object and vector now have format methods and <code>operator&lt;&lt;</code> support (<a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/599">#599</a>).</p>
</li>
<li>
<p>The <code>size</code> operator in <code>Matrix</code> is explicitly referenced avoiding a g++-6 issues (<a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/607">#607</a> fixing <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/605">#605</a>).</p>
</li>
<li>
<p>The underlying date calculation code was updated (<a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/621">#621</a>, <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/623">#623</a>).</p>
</li>
<li>
<p>Addressed improper diagonal fill for non-symmetric matrices (James Balamuta in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/622">#622</a> addressing <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/619">#619</a>)</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp Sugar:</p>
<ul>
<li>
<p>Added new Sugar function <code>sample()</code> (Nathan Russell in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/610">#610</a> and <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/616">#616</a>).</p>
</li>
<li>
<p>Added new Sugar function <code>Arg()</code> (James Balamuta in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/626">#626</a> addressing <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/625">#625</a>).</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp unit tests</p>
<ul>
<li>
<p>Added Environment::find unit tests and an Environment::get(Symbol) test (James Balamuta in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/595">#595</a> addressing issue <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/594">#594</a>).</p>
</li>
<li>
<p>Added diagonal matrix fill tests (James Balamuta in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/622">#622</a> addressing <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/619">#619</a>)</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp Documentation:</p>
<ul>
<li>
<p>Exposed pointers macros were included in the Rcpp Extending vignette (MathurinD; James Balamuta in <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/592">#592</a> addressing <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/issues/418">#418</a>).</p>
</li>
<li>
<p>The file <code>Rcpp.bib</code> move to directory <code>bib</code> which is guaranteed to be present (<a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/631">#631</a>).</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp build system</p>
<ul>
<li>Travis CI now also calls <a target="_blank" rel="nofollow" href="https://cran.r-project.org/package=covr"><span>covr</span></a> for coverage analysis (Jim Hester in PR <a target="_blank" rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/591">#591</a>)</li>
</ul>
</li>
</ul>
</blockquote>
<p>Thanks to <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a>, you can also look at a <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/01/15#Rcpp_0.12.9">diff to the previous release</a>. As always, even fuller details are on the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.changelog.html">Rcpp Changelog page</a> and the <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html">Rcpp page</a> which also leads to the downloads page, the <a target="_blank" rel="nofollow" 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" rel="nofollow" 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" rel="nofollow" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel">rcpp-devel mailing list</a> off the <a target="_blank" rel="nofollow" href="http://r-forge.r-project.org/projects/rcpp/">R-Forge page</a>.</p>
<p>
This post by <a target="_blank" rel="nofollow" href="http://dirk.eddelbuettel.com/">Dirk Eddelbuettel</a> originated on his <a target="_blank" rel="nofollow" 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>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/2017/01/15#rcpp_0.12.9"> 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/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/1VLpcPuaKl0"></a></div>