r - 在 R 中安装“汽车”包时遇到问题。
问题描述
我曾用它来尝试安装汽车包:
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
我尝试单独安装依赖项,但没有成功。任何帮助将不胜感激。谢谢。
解决方案
推荐阅读
- python - pytz 时区在夏令时的偏移量错误
- r - 仅将一些参数作为 R 中的命名列表传递给函数
- c - C - 函数调用本身会导致递归调用中的段错误
- javascript - ChartJs - 标记 Y 轴的最小值和最大值
- c++ - 无序映射的左值到右值转换
- java - AWS IoT MQTT 仅适用于示例主题?
- wpf - 即使属性已更改,PropertyChanged 仍为 null
- reactjs - 如何使用 withRouter 在 history.push() 之后更新状态?
- vb.net - 使用 ProcessCmdKey 捕获 F1 调用两个网页
- perl - Perl CPAN 无法安装 Tkx