[Rcpp-devel] [ANN] RcppArmadillo

Dirk Eddelbuettel edd at debian.org
Sun Oct 22 00:00:50 CEST 2017

A new RcppArmadillo release appeared on CRAN earlier this month, and I forgot
to announce it here--my bad. I did mention the release candidate though.

For all actual release details, see the included blog post below, the full
version with hyperlinks is at

Thanks,  Dirk

  Wed, 11 Oct 2017


   armadillo image

   We are thrilled to announce a new big RcppArmadillo release! Conrad
   recently moved Armadillo to the 8.* series, with significant improvements
   and speed ups for sparse matrix operations, and more. See below for a
   brief summary.

   This also required some changes at our end which Binxiang Ni provided, and
   Serguei Sokol improved some instantiations. We now show the new vignette
   Binxiang Ni wrote for his GSoC contribution, and I converted it (and the
   other main vignette) to using the pinp package for sleeker pdf vignettes.

   This release resumes our bi-monthly CRAN release cycle. I may make interim
   updates available at GitHub "as needed". And this time I managed to mess
   up the reverse depends testing, and missed one sync() call on the way back
   to R---but all that is now taken care of.

   Armadillo 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. RcppArmadillo integrates this
   library with the R environment and language--and is widely used by
   (currently) 405 other packages on CRAN.

   A high-level summary of changes follows.

    Changes in RcppArmadillo version (2017-10-05)

       * Upgraded to Armadillo release 8.100.1 (Feral Pursuits)

            * faster incremental construction of sparse matrices via element
              access operators

            * faster diagonal views in sparse matrices

            * expanded SpMat to save/load sparse matrices in coord format

            * expanded .save(),.load() to allow specification of datasets
              within HDF5 files

            * added affmul() to simplify application of affine

            * warnings and errors are now printed by default to the std::cerr

            * added set_cerr_stream() and get_cerr_stream() to replace
              set_stream_err1(), set_stream_err2(), get_stream_err1(),

            * new configuration options ARMA_COUT_STREAM and ARMA_CERR_STREAM

       * Constructors for sparse matrices of types dgt, dtt amd dst now use
         Armadillo code for improved performance (Serguei Sokol in #175
         addressing #173)

       * Sparse matrices call .sync() before accessing internal arrays
         (Binxiang Ni in #171)

       * The sparse matrix vignette has been converted to Rmarkdown using the
         pinp package, and is now correctly indexed. (#176)

   Courtesy of CRANberries, there is a diffstat report. More detailed
   information is on the RcppArmadillo page. Questions, comments etc should
   go to the rcpp-devel mailing list off the R-Forge page.

   This post by Dirk Eddelbuettel originated on his Thinking inside the box
   blog. Please report excessive re-aggregation in third-party for-profit

                                                  /code/rcpp | permanent link


http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org

More information about the Rcpp-devel mailing list