I'm trying to install the R package caret
R -e "install.packages('caret', repos='http://ift.tt/XtAs9T')"
on an Amazon Linux AMI but the dependancies RcppEigen,lme4, BradleyTerry2 fail.
Warning messages:
1: In install.packages("caret", repos = "http://ift.tt/XtAs9T") : installation of package ‘RcppEigen’ had non-zero exit status
2: In install.packages("caret", repos = "http://ift.tt/XtAs9T") : installation of package ‘lme4’ had non-zero exit status
3: In install.packages("caret", repos = "http://ift.tt/XtAs9T") : installation of package ‘BradleyTerry2’ had non-zero exit status
4: In install.packages("caret", repos = "http://ift.tt/XtAs9T") : installation of package ‘caret’ had non-zero exit status
When I try to install RcppEigen I get (among other verbose massages):
/usr/bin/ld: cannot find -lRlapack
/usr/bin/ld: cannot find -lRblas
collect2: ld returned 1 exit status
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package ‘RcppEigen’
* removing ‘/usr/lib64/R/library/RcppEigen’
My environment
Amazon Linux version 2015.03
Linux version 3.4.37-40.44.amzn1.x86_64 (mockbuild@gobi-build-31005) (gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC) ) #1 SMP Thu Mar 21 01:17:08 UTC 2013
It seems if it has to do with Red Hat vs. Ubuntu, but I can't find any answers here or elsewhere.
Aucun commentaire:
Enregistrer un commentaire