<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/rcpparmadillo-0-9-200-4-0/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://dirk.eddelbuettel.com/blog/2018/11/10#rcpparmadillo_0.9.200.4.0"> Thinking inside the box </a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<p><img alt="armadillo image" src="https://i1.wp.com/dirk.eddelbuettel.com/images/armadillo_logo.png?w=248" data-recalc-dims="1"></p>
<p>A new <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html" target="_blank">RcppArmadillo</a> release, now at 0.9.200.4.0, based on the new <a rel="nofollow" href="http://arma.sourceforge.net/" target="_blank">Armadillo</a> release 9.200.4 from earlier this week, is now on <a rel="nofollow" href="https://cran.r-project.org/" target="_blank">CRAN</a>, and should get to <a rel="nofollow" href="https://www.debian.org/" target="_blank">Debian</a> very soon.</p>
<p><a rel="nofollow" href="http://arma.sourceforge.net/" target="_blank">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. <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html" target="_blank">RcppArmadillo</a> integrates this library with the <a rel="nofollow" href="https://www.r-project.org/" target="_blank">R</a> environment and language–and is widely used by (currently) 532 (or 31 more since just the last release!) other packages on <a rel="nofollow" href="https://cran.r-project.org/" target="_blank">CRAN</a>.</p>
<p>This release once again brings a number of improvements, see below for details.</p>
<blockquote>
<h4>Changes in RcppArmadillo version 0.9.200.4.0 (2018-11-09)</h4>
<ul>
<li>
<p>Upgraded to Armadillo release 9.200.4 (Carpe Noctem)</p>
<ul>
<li>
<p>faster handling of symmetric positive definite matrices by <code>rcond()</code></p>
</li>
<li>
<p>faster transpose of matrices with size ≥ 512×512</p>
</li>
<li>
<p>faster handling of compound sparse matrix expressions by <code>accu()</code>, <code>diagmat()</code>, <code>trace()</code></p>
</li>
<li>
<p>faster handling of sparse matrices by <code>join_rows()</code></p>
</li>
<li>
<p>expanded <code>sign()</code> to handle scalar arguments</p>
</li>
<li>
<p>expanded operators (<code>*</code>, <code>%</code>, <code>+</code>, <code>−</code>) to handle sparse matrices with differing element types (eg. multiplication of complex matrix by real matrix)</p>
</li>
<li>
<p>expanded <code>conv_to()</code> to allow conversion between sparse matrices with differing element types</p>
</li>
<li>
<p>expanded <code>solve()</code> to optionally allow keeping solutions of systems singular to working precision</p>
</li>
<li>
<p>workaround for <code>gcc</code> and <code>clang</code> bug in C++17 mode</p>
</li>
</ul>
</li>
<li>
<p>Commented-out sparse matrix test consistently failing on the fedora-clang machine CRAN, and only there. No fix without access.</p>
</li>
<li>
<p>The ‘Unit test’ vignette is no longer included.</p>
</li>
</ul>
</blockquote>
<p>Courtesy of <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/" target="_blank">CRANberries</a>, there is a <a rel="nofollow" href="http://dirk.eddelbuettel.com/cranberries/2018/11/10#RcppArmadillo_0.9.200.4.0" target="_blank">diffstat report relative to previous release</a>. More detailed information is on the <a rel="nofollow" href="http://dirk.eddelbuettel.com/code/rcpp.armadillo.html" target="_blank">RcppArmadillo page</a>. 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</a> page.</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/2018/11/10#rcpparmadillo_0.9.200.4.0"> 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/G-zUAQrCfAM" height="1"></a></div>