[Rcpp-devel] RcppArmadillo installation issue

Vinh Nguyen vinhdizzo at gmail.com
Tue Jul 10 18:00:18 CEST 2012


Dear list,

I'm trying to install RcppArmadillo on my school's cluster (R version
2012-05-31 r59485).  Was able to install Rcpp fine using
install.packages.  However, I get the following error for Rcpp:

> install.packages("RcppArmadillo", lib="~/Rlib", dep=TRUE)
trying URL 'http://cran.stat.ucla.edu/src/contrib/RcppArmadillo_0.3.2.3.tar.gz'
Content type 'application/x-tar' length 668838 bytes (653 Kb)
opened URL
==================================================
downloaded 653 Kb

* installing *source* package ‘RcppArmadillo’ ...
** package ‘RcppArmadillo’ successfully unpacked and MD5 sums checked
** libs
mpiCC -I/data/users/vqnguyen/r-devel-installed/lib64/R/include
-DNDEBUG  -I/data/apps/mpc-0.9/include
-I"/data/users/vqnguyen/Rlib/Rcpp/include"  -I../inst/include -fpic
-g -O2  -c RcppArmadillo.cpp -o RcppArmadillo.o
In file included from ../inst/include/armadillo:141:0,
                 from ../inst/include/RcppArmadilloForward.h:36,
                 from ../inst/include/RcppArmadillo.h:25,
                 from RcppArmadillo.cpp:22:
../inst/include/armadillo_bits/Mat_bones.hpp:468:5: internal compiler
error: in copy_binfo, at cp/tree.c:1250
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [RcppArmadillo.o] Error 1

Is my compiler not compatible with RcppArmadillo?  Let me know your
thoughts, thanks!

-- Vinh


More information about the Rcpp-devel mailing list