R 安装car包失败

在RStudio里安装car包的时候报错

/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
make: *** [quantreg.so] Error 1
ERROR: compilation failed for package ‘quantreg’
* removing ‘/home/tony/R/x86_64-pc-linux-gnu-library/3.4/quantreg’

找不到依赖项
在Ubuntu shell里直接 sudo aptitude install r-cran-car
搞定
posted @ 2018-10-09 20:57  躺着挣钱  阅读(2172)  评论(0)    收藏  举报