【发布时间】:2017-02-05 21:56:49
【问题描述】:
我希望安装 VIM 包以在 RStudio 中输入一些丢失的数据,但我在相关的 e1071 包中遇到错误。
VIM 包安装成功。但相关的 e1071 失败,原因如下:
> install.packages("e1071", dependencies = T)
Installing package into ‘C:/Users/John/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
e1071 1.6-7 1.6-8 TRUE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/e1071_1.6-7.zip'
Warning in install.packages :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/e1071_1.6-7.zip': HTTP status was '404 Not Found'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/e1071_1.6-7.zip'
Warning in install.packages :
download of package ‘e1071’ failed
我需要做什么来安装这个包?
【问题讨论】:
-
e1071好像最近更新了,所以您可能只需要重新启动 R 并重试。 -
@Kevin Ushey,感谢您的回答,是的,成功了!如果您想将此作为答案发布,我会接受。非常感谢。