i am trying to install C50 package on R but i couldn't : install.packages('C50') this error appears :cannot install C50 this error : /usr/bin/ld: cannot find -llapack /usr/bin/ld: cannot find -lblas]
Asked
Active
Viewed 377 times
0
-
You seem to be missing required system libraries: Lapack and BLAS. (Not really an R problem.) Possible duplicate of https://stackoverflow.com/questions/36676449/lapack-blas-openblas-proper-installation-from-source-replace-system-libraries – IRTFM Apr 15 '18 at 18:35
-
what should i do in this case ? – Mohamed Berrimi Apr 15 '18 at 18:37
-
I'm not a Linux Mint user so I just retagged and a different set of eyes can take over. – IRTFM Apr 15 '18 at 18:40
-
`sudo apt-get install libblas-dev liblapack-dev` should be enougth – JRR Apr 15 '18 at 19:15
-
1This does make me wonder whether you installed the proper R packages. How long have you been using R? I would have imagined the liblapack should be part of the r-dev package. – IRTFM Apr 15 '18 at 19:32
1 Answers
0
By installing these it worked for me : sudo apt-get install liblapack-dev sudo apt-get install liblapack-doc sudo apt-get install libblas-dev `sudo apt-get install libblas-doc

Mohamed Berrimi
- 130
- 10