在校园Rstudio服务器上安装软件包时收到“软件包的退出状态为非零”?

时间:2019-05-22 17:51:05

标签: r rstudio-server

我正在尝试在校园的Rstudio服务器上安装ggp​​lot2。不幸的是,我收到经典的“软件包'ggplot2'的安装具有非零退出状态”。我遍历了与其他软件包有相同问题但没有找到任何可行解决方案的用户的许多线程。

我尝试使用install.packages(“ ggplot2”,dependencies = TRUE),但没有用。

此外,我正在MacBook Pro上运行最新版本的OSX。

这是我收到的错误消息:

Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/mnt/trafficstop/jrleary/R/x86_64-redhat-linux-gnu-library/3.5/vctrs’
Warning in install.packages :
  installation of package ‘vctrs’ had non-zero exit status
ERROR: dependency ‘vctrs’ is not available for package ‘pillar’
* removing ‘/mnt/trafficstop/jrleary/R/x86_64-redhat-linux-gnu-library/3.5/pillar’
Warning in install.packages :
  installation of package ‘pillar’ had non-zero exit status
ERROR: dependency ‘pillar’ is not available for package ‘tibble’
* removing ‘/mnt/trafficstop/jrleary/R/x86_64-redhat-linux-gnu-library/3.5/tibble’
Warning in install.packages :
  installation of package ‘tibble’ had non-zero exit status
ERROR: dependency ‘tibble’ is not available for package ‘ggplot2’
* removing ‘/mnt/trafficstop/jrleary/R/x86_64-redhat-linux-gnu-library/3.5/ggplot2’
Warning in install.packages :
  installation of package ‘ggplot2’ had non-zero exit status

0 个答案:

没有答案