Hi folks.

I am trying to install RcppEigen, which depends on Rcpp. Here's what the
terminal says:

> install.packages("RcppEigen")
Installing package into ‘/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.case.edu/src/contrib/RcppEigen_0.3.2.0.1.tar.gz'
Content type 'application/x-gzip' length 1251939 bytes (1.2 Mb)
opened URL
==================================================
downloaded 1.2 Mb

* installing *source* package ‘RcppEigen’ ...
** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG
-I"/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include"
-I../inst/include -fpic  -O3 -pipe  -g  -c RcppEigen.cpp -o RcppEigen.o
g++ -I/usr/share/R/include -DNDEBUG
-I"/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/include"
-I../inst/include -fpic  -O3 -pipe  -g  -c fastLm.cpp -o fastLm.o
g++ -shared -o RcppEigen.so RcppEigen.o fastLm.o
-L/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/lib -lRcpp
-Wl,-rpath,/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/Rcpp/lib -llapack
-lblas -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: ld returned 1 exit status
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/home/rewarp/R/x86_64-pc-linux-gnu-library/3.0/RcppEigen’

The downloaded source packages are in
        ‘/tmp/Rtmpk3GXAC/downloaded_packages’
Warning message:
In install.packages("RcppEigen") :
  installation of package ‘RcppEigen’ had non-zero exit status

Any help would be appreciated. Thanks.

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to