RcppArmadillo 0.2.0 (and 0.2.1)

May 20, 2010

(This article was first published on dirk.eddelbuettel, and kindly contributed to R-bloggers)

With the
Rcpp 0.8.0 release on Monday,
Romain, Doug and I were able to follow-up with a new
RcppArmadillo release.
RcppArmadillo uses Rcpp
(and a few dozen lines of ‘glue’) to provide a transparent interface from
R to
Conrad Sanderson’s impressive Armadillo library for linear algebra.

This new release offers a number of key improvements:

  • Headers-only: given that Armadillo is a C++ template library, we now ship its headers in the package. In the previous release, we required Armadillo to be built as a library. As this Armadillo library mostly provides things we get from R for free (such as access to Blas, where available), we can do without it and stick to templates-only. The upside is that the usage requirements for RcppArmadillo have become much simpler: R, a C++ compiler and Rcpp. In practice, this also means that Windows users will now get pre-built binaries via CRAN
  • Update to Armadillo 0.9.8: We added the headers from Conrad’s most recent release.
  • The fastLm() function is now generic and provides a default and formula interface just like lm() along with standard methods print, summary and predict. The documentation is enhanced as well and now contains an example of a rank-deficient model matrix where the non-pivoting scheme of fastLm() fails.
  • Doug Bates joined Romain and myself as an author of RcppArmadillo

While we had tested this quite rigourously, the combination of some last
minute changes that were meant to be stylistic-only, some troubles with the
tests and builds at CRAN that were not apparent in all our tests (hint: do
not yet use dynamic help features referencing other packages even if you have
a Depends: on them) and an upcoming travel deadline meant that we missed a
gotcha on Windows—so release 0.2.1 had to follow a few hours after the
short-lived 0.2.0.

More information is on the RcppArmadillo page.
Questions, comments etc should go to the
rcpp-devel mailing list
off the R-Forge page.

To leave a comment for the author, please follow the link and comment on their blog: dirk.eddelbuettel.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.


Mango solutions

RStudio homepage

Zero Inflated Models and Generalized Linear Mixed Models with R

Dommino data lab

Quantide: statistical consulting and training




CRC R books series

Six Sigma Online Training

Contact us if you wish to help support R-bloggers, and place your banner here.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)