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
--
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
______________________________________________
[email protected] 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.