首页 > 技术文章 > R 安装car包失败

miwtony 2018-10-09 20:57 原文

在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
搞定

推荐阅读