“ wget”调用的退出状态为非零-R-Linux RHEL 7

时间:2018-08-03 13:22:25

标签: r rhel install.packages

我尝试在R中安装一些必需的软件包,我刚刚将其安装在Linux机器上。我无法安装任何软件包并收到以下警告:

> install.packages("mongolite", repos="https://cran.r-project.org", lib="/opt/app/workload/deployments/installables/R-3.5.0/Rpackages")
^C


^CWarning: unable to access index for repository https://cran.r-project.org/src/contrib:
  'wget' call had nonzero exit status
Warning message:
package ‘mongolite’ is not available (for R version 3.5.0)

等待约30分钟后,我必须按^ + c。

使用“ curl”时也是如此,但无需等待30分钟。

以下是sessionInfo()的输出:

> sessionInfo()
R version 3.5.0 (2018-04-23)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server 7.4 (Maipo)

Matrix products: default
BLAS: /.../R-3.5.0/lib/libRblas.so
LAPACK: /.../R-3.5.0/lib/libRlapack.so

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_3.5.0 tools_3.5.0
>

我无法理解是什么阻止了要安装的软件包。请帮忙。

谢谢

0 个答案:

没有答案