[R] lapack in R 2.11.1 (Ubuntu 10.04.1)
edd at debian.org
Wed Sep 15 23:15:45 CEST 2010
On 15 September 2010 at 13:48, Matias Salibian-Barrera wrote:
| I'm trying to install the package RcppArmadillo in my R 2.11.1 which I installed
| and regularly update via Ubuntu's repositories.
We welcome questions on Rcpp et al on the rcpp-devel list. There is also the
r-sig-debian list for Debian/Ubuntu questions.
| When I try to install RcppArmadillo from CRAN I get:
| > install.packages('RcppArmadillo', lib='~/myRlibs')
| g++ -shared -o RcppArmadillo.so RcppArmadillo.o fastLm.o
| -L/home/matias/myRlibs/Rcpp/lib -lRcpp -Wl,-rpath,/home/matias/myRlibs/Rcpp/lib
| -llapack -lblas -lgfortran -lm -L/usr/lib/R/lib -lR
| /usr/bin/ld: cannot find -llapack
| I believe this means I don't have lapack available to link to.
You have the run-time, but not the dev package. Do
$ sudo apt-get install r-base-dev
and it will take of this.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the R-help