[Rcpp-devel] [Quasi-ANN] RcppArmadillo 0.8.500.0 with Armadillo 8.500

Dirk Eddelbuettel edd at debian.org
Sat Apr 21 19:52:55 CEST 2018

Conrad has released Armadillo 8.500, and I wrapped this up as version
0.8.500.0 of RcppArmadillo which had seen quite some testing via two
pre-releases with proper reverse depensd checks.

There are a number of nice new things in here, particularly for sparse
matrices, and some other Armadillo changes as well as setup improvements
(with special thanks to Keith O'Hara who has been very helpful).  See below
for fuller details.

The release is in the queue at CRAN, but as RcppArmadillo is used by over 460
packages, CRAN will do some testing too -- and then we have of course the
pending R 3.5.0 release on Monday.  So this may take a moment to get released
at CRAN.

But as this release is also available ready via GitHub and the RcppCore drat
repo, you can install it now from the drat repo at


via a simple


or even just

      install.packages("RcppArmadillo", type="source",

Thanks,  Dirk

### Changes in RcppArmadillo version 0.8.500.0 (2018-04-21)

-   Upgraded to Armadillo release 8.500 (Caffeine Raider)

    -   faster handling of sparse matrices by `kron()` and `repmat()`

    -   faster transpose of sparse matrices

    -   faster element access in sparse matrices

    -   faster row iterators for sparse matrices

    -   faster handling of compound expressions by `trace()`

    -   more efficient handling of aliasing in submatrix views

    -   expanded `normalise()` to handle sparse matrices

    -   expanded `.transform()` and `.for_each()` to handle sparse

    -   added `reverse()` for reversing order of elements

    -   added `repelem()` for replicating elements

    -   added `roots()` for finding the roots of a polynomial

-   Fewer LAPACK compile-time guards are used, new unit tests for
    underlying features have been added (Keith O'Hara in

-   The configure check for LAPACK features has been updated accordingly
    (Keith O'Hara in

-   The compile-time check for `g++` is now more robust to minimal shell

-   Compiler tests to were added for macOS (Keith O'Hara in

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

More information about the Rcpp-devel mailing list