<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/rcpp-0-12-14-some-deprecation-and-minor-updates/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2017/11/24#rcpp_0.12.14"> 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 fourteenth release in the 0.12.* series of <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> landed on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> yesterday after a somewhat longer-than-usual gestation period (and word is it may have been due to some unrelated disturbances from lots of changes within the main r-devel build).</p>
<p>This release follows the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/07/25#rcpp_0.12.0" target="_blank">0.12.0 release</a> from July 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/09/10#rcpp_0.12.1" target="_blank">0.12.1 release</a> in September 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2015/11/15#rcpp_0.12.2" target="_blank">0.12.2 release</a> in November 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/01/10#rcpp_0.12.3" target="_blank">0.12.3 release</a> in January 2017, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/03/26#rcpp_0.12.4" target="_blank">0.12.4 release</a> in March 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/05/14#rcpp_0.12.5" target="_blank">0.12.5 release</a> in May 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/07/19#rcpp_0.12.6" target="_blank">0.12.6 release</a> in July 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/09/04#rcpp_0.12.7" target="_blank">0.12.7 release</a> in September 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/11/18#rcpp_0.12.8" target="_blank">0.12.8 release</a> in November 2016, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/01/15#rcpp_0.12.9" target="_blank">0.12.9 release</a> in January 2017, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/03/19#rcpp_0.12.10" target="_blank">0.12.10.release</a> in March 2017, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/05/23#rcpp_0.12.11" target="_blank">0.12.11.release</a> in May 2017, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/07/15#rcpp_0.12.12" target="_blank">0.12.12 release</a> in July 2017 and the <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2017/09/28#rcpp_0.12.13" target="_blank">0.12.13.release</a> in late September 2017 making it the eighteenth release at the steady and predictable bi-montly release frequency.</p>
<p><a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> has become <em>the</em> most popular way of enhancing <a rel="nofollow" href="http://www.r-project.org/" target="_blank">GNU R</a> with C or C++ code. As of today, 1246 packages (and hence 77 more since the last release) on <a rel="nofollow" href="http://cran.r-project.org/" target="_blank">CRAN</a> depend on <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp</a> for making analytical code go faster and further, along with another 91 in <a rel="nofollow" href="https://www.bioconductor.org/" target="_blank">BioConductor</a>.</p>
<p>This release is relatively minor compared to other releases, but follows through on the deprecattion of the old vectors for <code>Date</code> and <code>Datetime</code> (which were terrible: I was influenced by the vector design in QuantLib at the time and didn’t really understand yet how a <code>SEXP</code> vector should work) we announced with <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/2016/11/18#rcpp_0.12.8" target="_blank">Rcpp 0.12.8</a> a year ago. So now the new vectors are the default, but you can flip back if you need to with <code>#define</code>.</p>
<p>Otherwise Dan rounded a corner with the improved iterators he contributed, and Kirill improved the output stream implementation suppressing a warning with newer compilers.</p>
<blockquote>
<h3>Changes in Rcpp version 0.12.14 (2017-11-17)</h3>
<ul>
<li>
<p>Changes in Rcpp API:</p>
<ul>
<li>
<p>New const iterators functions <code>cbegin()</code> and <code>cend()</code> added to <code>MatrixRow</code> as well (Dan Dillon in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/750" target="_blank">#750</a>).</p>
</li>
<li>
<p>The <code>Rostream</code> object now contains a <code>Buffer</code> rather than allocating one (Kirill Müller in <a rel="nofollow" href="https://github.com/RcppCore/Rcpp/pull/763" target="_blank">#763</a>).</p>
</li>
<li>
<p>New <code>DateVector</code> and <code>DatetimeVector</code> classes are now the default fully deprecating the old classes as announced one year ago.</p>
</li>
</ul>
</li>
<li>
<p>Changes in Rcpp Package:</p>
<ul>
<li>DESCRIPTION file now list doi information per CRAN suggestion.</li>
</ul>
</li>
<li>
<p>Changes in Rcpp Documentation:</p>
<ul>
<li>Update CITATION file with doi information and PeerJ preprint.</li>
</ul>
</li>
</ul>
</blockquote>
<p>Thanks to <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, you can also look at a <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2017/11/23#Rcpp_0.12.14" target="_blank">diff to the previous release</a>. As always, details are on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.changelog.html" target="_blank">Rcpp Changelog page</a> and the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.html" target="_blank">Rcpp page</a> which also leads to the downloads page, the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp/html/index.html" target="_blank">browseable doxygen docs</a> and zip files of doxygen output for the standard formats. A <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp/" target="_blank">local directory</a> has source and documentation too. Questions, comments etc should go to the <a rel="nofollow" href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel" target="_blank">rcpp-devel mailing list</a> off the <a rel="nofollow" href="http://r-forge.r-project.org/projects/rcpp/" target="_blank">R-Forge page</a>.</p>
<p>
This post by <a rel="nofollow" href="http://dirk.eddelbuettel.com/" target="_blank">Dirk Eddelbuettel</a> originated on his <a rel="nofollow" href="http://dirk.eddelbuettel.com/blog/" target="_blank">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/11/24#rcpp_0.12.14"> 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 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/594733POHdA" height="1"></a></div>