<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
当尝试在 Ubuntu 14.04 LTS 32 位上安装插入符包时,我收到以下警告
The downloaded source packages are in
‘/tmp/RtmpnrWGAe/downloaded_packages’
Warning messages:
1: In install.packages("caret") :
installation of package ‘nloptr’ had non-zero exit status
2: In install.packages("caret") :
installation of package ‘lme4’ had non-zero exit status
3: In install.packages("caret") :
installation of package ‘pbkrtest’ had non-zero exit status
4: In install.packages("caret") :
installation of package ‘BradleyTerry2’ had non-zero exit status
5: In install.packages("caret") :
installation of package ‘car’ had non-zero exit status
6: In install.packages("caret") :
installation of package ‘caret’ had non-zero exit status
最佳答案
在安装 'caret' 包之前,您需要安装所有依赖项。
install.packages(c('lme4', 'pbkrtest', 'BradleyTerry2', 'car', 'caret'))
上面的代码应该可以解决这个问题。
或者你可以使用:
install.packages('caret', dependencies = TRUE)
然后您可以尝试使用上述命令安装“nloptr”包。
关于r - Caret 安装包,在 Ubuntu 14.04 LTS 32 位中有非零退出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31350170/