简体   繁体   English

在 R 中安装任何软件包时出现此错误

[英]I am getting this Error while installing any package in R

When trying to install a package I'm getting the following:尝试安装软件包时,我收到以下信息:

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/survival_2.41-3.zip' Content type 'application/zip' length 5242797 bytes (5.0 MB)

Can one explain it?可以解释一下吗?

Just write from the console:只需从控制台写入:

install.packages("survival")

to call the library打电话给图书馆

library(survival)

That's it.就是这样。 You don't have to download the .zip file if you can do it directly from the console.如果可以直接从控制台下载 .zip 文件,则不必下载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM