我知道其他人问过这个问题......但没有人真正提供解决方案。
我正在尝试安装 Kernlab R 包,我得到了这个:
......
install.packages("kernlab")
Installing package into ‘C:/Users/Owner/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/kernlab_0.9-19.zip'
Content type 'application/zip' length 2029405 bytes (1.9 Mb)
opened URL
downloaded 1.9 Mb
Warning in install.packages :
downloaded length 1978368 != reported length 2029405
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'kernlab/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
........
我尝试下载 zip 文件并从计算机打开它,但它说 CRAN 存储库中的文件已损坏。我尝试了winrar,解压缩文件夹等。
我必须将它用于数据分析 Coursera 课程并在那里发布问题。还没有人回答。
有谁知道可能是什么问题?
在此先感谢,费利佩