[R-sig-Fedora] rstan warning messages
Patrick, Larry B [CSSM]
longplay at iastate.edu
Wed Jan 27 19:12:48 CET 2016
RHEL 6 installed
R version 3.2.3 from EPEL installed
Start R and use the following command, but got warnings!
install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/")
...
g++ -m64 -shared -L/usr/lib64/R/lib -L/usr/local/lib64 -o RcppEigen.so RcppEigen.o RcppExports.o fastLm.o -L/usr/lib64/R/lib -lRlapack -L/usr/lib64/R/lib -lRblas -lgfortran -lm -L/usr/lib64/R/lib -lR
/usr/bin/ld: cannot find -lgfortran
collect2: error: ld returned 1 exit status
make: *** [RcppEigen.so] Error 1
ERROR: compilation failed for package 'RcppEigen'
* removing '/usr/lib64/R/library/RcppEigen'
...
** package 'RCurl' successfully unpacked and MD5 sums checked
checking for curl-config... no
Cannot find curl-config
ERROR: configuration failed for package 'RCurl'
* removing '/usr/lib64/R/library/RCurl'
...
ERROR: dependency 'RcppEigen' is not available for package 'rstan'
* removing '/usr/lib64/R/library/rstan'
...
1: In install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/") :
installation of package 'RcppEigen' had non-zero exit status
2: In install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/") :
installation of package 'RCurl' had non-zero exit status
3: In install.packages("rstan", dependencies = TRUE, repos = "http://cran.r-project.org/") :
installation of package 'rstan' had non-zero exit status
Like to find a fix for items 1 and 2 as that should fix 3 :)
Where should I begin?
Thanks,
Larry Patrick
[[alternative HTML version deleted]]
More information about the R-SIG-Fedora
mailing list