<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/rcpparmadillo-0-7-200-2-0/"></div></div><div><a data-url="http://www.r-bloggers.com/rcpparmadillo-0-7-200-2-0/" data-counturl="http://www.r-bloggers.com/rcpparmadillo-0-7-200-2-0/" data-count="horizontal" data-text="RcppArmadillo 0.7.200.2.0" 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/07/24#rcpparmadillo_0.7.200.2.0"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="http://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><img alt="armadillo image" src="http://i0.wp.com/arma.sourceforge.net/img/armadillo_logo.png?w=248" data-recalc-dims="1"></p>
<p>The second <a target="_blank" href="http://arma.sourceforge.net/">Armadillo</a> release of the 7.* series came out a few weeks ago: version 7.200.2. And <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html">RcppArmadillo</a> version 0.7.200.2.0 is now on <a target="_blank" href="http://cran.r-project.org/">CRAN</a> and uploaded to <a target="_blank" href="http://www.debian.org/">Debian</a>. This followed the usual thorough reverse-dependecy checking of by now over 240 packages using it.</p>
<p>For once, I let it simmer a little preparing only a package update via the <a target="_blank" href="https://github.com/RcppCore/RcppArmadillo">GitHub repo</a> without preparing a <a target="_blank" href="http://cran.r-project.org/">CRAN</a> upload to lower the update frequency a little. Seeing that <a target="_blank" href="http://conradsanderson.id.au/">Conrad</a> has started to release 7.300.0 tarballs, the time for a (final) 7.200.2 upload was now right.</p>
<p>Just like the previous, it now <em>requires</em> a recent enough compiler. As <code>g++</code> is so common, we explicitly test for version 4.6 or newer. So if you happen to be on an older RHEL or CentOS release, you may need to get yourself a more modern compiler. R on Windows is now at 4.9.3 which is decent (yet stable) choice; the 4.8 series of <code>g++</code> will also do. For reference, the current LTS of Ubuntu is at 5.4.0, and we have <code>g++</code> 6.1 available in Debian testing.</p>
<p>This new upstream release adds new indexing helpers, additional return codes on some matrix transformations, increased speed for compound expressions via <code>vectorise</code>, corrects some LAPACK feature detections (affecting principally complex number use under OS X), and a rewritten <code>sample()</code> function thanks to James Balamuta.</p>
<p><a target="_blank" href="http://arma.sourceforge.net/">Armadillo</a> is a powerful and expressive C++ template library for linear algebra aiming towards a good balance between speed and ease of use with a syntax deliberately close to a Matlab.</p>
<p>Changes in this release (and the preceding GitHub-only release 0.7.200.1.0 are as follows:</p>
<blockquote>
<h4>
Changes in RcppArmadillo version 0.7.200.2.0 (2016-07-22)<br>
</h4>
<ul>
<li>
<p>
Upgraded to Armadillo release 7.200.2
</p>
</li>
<li>
<p>
The sampling extension was rewritten to use Armadillo vector types instead of Rcpp types (PR <a target="_blank" href="https://github.com/RcppCore/RcppArmadillo/pull/101">#101</a> by James Balamuta)
</p>
</li>
</ul>
<h4>
Changes in RcppArmadillo version 0.7.200.1.0 (2016-06-06)<br>
</h4>
<ul>
<li>
<p>
Upgraded to Armadillo release 7.200.1
</p>
<ul>
<li>
<p>
added <code>.index_min()</code> and <code>.index_max()</code>
</p>
</li>
<li>
<p>
expanded <code>ind2sub()</code> to handle vectors of indices
</p>
</li>
<li>
<p>
expanded <code>sub2ind()</code> to handle matrix of subscripts
</p>
</li>
<li>
<p>
expanded <code>expmat()</code>, <code>logmat()</code> and <code>sqrtmat()</code> to optionally return a bool indicating success
</p>
</li>
<li>
<p>
faster handling of compound expressions by <code>vectorise()</code>
</p>
</li>
</ul>
</li>
<li>
<p>
The <code>configure</code> code now (once again) sets the values for the LAPACK feature <code>#define</code> correctly.
</p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a target="_blank" href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a>, there is a <a target="_blank" href="http://dirk.eddelbuettel.com/cranberries/2016/07/24#RcppArmadillo_0.7.200.2.0">diffstat report</a>. More detailed information is on the <a target="_blank" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html">RcppArmadillo page</a>. 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</a> page.</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/rcpparmadillo-0-7-200-2-0/"></div></div><div><a data-url="http://www.r-bloggers.com/rcpparmadillo-0-7-200-2-0/" data-counturl="http://www.r-bloggers.com/rcpparmadillo-0-7-200-2-0/" data-count="vertical" data-text="RcppArmadillo 0.7.200.2.0" 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/07/24#rcpparmadillo_0.7.200.2.0"> 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/s3c_MgICyCU"></a></div>