无法在R中安装“汽车”包。

时间:2018-07-19 23:31:40

标签: r linux ubuntu rstudio

我曾经用它来尝试安装车载套件:

install.packages("car", dependencies=TRUE, INSTALL_opts = c('--no-lock'))

但收到此错误:

ERROR: dependency ‘openxlsx’ is not available for package ‘rio’ 
* removing ‘/home/dan-laptop/R/x86_64-pc-linux-gnu-library/3.2/rio’
Warning in install.packages :
   installation of package ‘rio’ had non-zero exit status
ERROR: dependency ‘rio’ is not available for package ‘car’
* removing ‘/home/dan-laptop/R/x86_64-pc-linux-gnu-library/3.2/car’
Warning in install.packages :
   installation of package ‘car’ had non-zero exit status
ERROR: dependency ‘car’ is not available for package ‘alr4’
* removing ‘/home/dan-laptop/R/x86_64-pc-linux-gnu-library/3.2/alr4’
Warning in install.packages :
   installation of package ‘alr4’ had non-zero exit status

我尝试单独安装依赖项,但是没有运气。任何帮助将不胜感激。谢谢。

0 个答案:

没有答案