[Rcpp-devel] Fwd: Building and Installing an R package built under RcppArmadillo on Mac OS X

Dirk Eddelbuettel edd at debian.org
Fri Oct 14 08:13:13 CEST 2011


On 14 October 2011 at 16:51, Slava Razbash wrote:
| I been planning to use RcppArmadillo to code packages intended for
| release on CRAN. Following this discussion, it seems that I should
| switch to RcppGSL because it does not have this function that causes
| problems when compiling on Mac.

No, I may have been overzealous.  After all, RcppArmadillo builds and so do
the eight packages already depending on it (start here at long at per-package
build results incl OS X: http://cran.r-project.org/web/packages/RcppArmadillo/index.html

It is true that OS X is stuck at g++ 4.2.1 but both Conrad (for Armadillo)
and us (for RcppArmadillo) have so far managed to code around the
restriction.  

So as Conrad wrote to me and Terrance in off-list email, this may "just" be a
matter of an older Armadillo library being on the machine where Terrance
tried this. I can't test this on OS X for lack of a machine.

Lastly, RcppGSL is a proof of concept with a much worse interface. If you
can, use RcppArmadillo for your projects.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx


More information about the Rcpp-devel mailing list