Closed. This question needs debugging details 。它目前不接受答案。
想改善这个问题吗?更新问题,使其成为 Stack Overflow 的 on-topic。
5年前关闭。
Improve this question
尝试在 Ubuntu 14.04 LTS 32 位上安装插入符号包时,我收到以下警告
上面的代码应该可以解决这个问题。
或者你可以使用:
然后,您可以尝试使用上述命令安装“nloptr”包。
想改善这个问题吗?更新问题,使其成为 Stack Overflow 的 on-topic。
5年前关闭。
Improve this question
尝试在 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/