无法安装R包

时间:2014-10-16 15:45:29

标签: r r-package

当我尝试在R中安装rJava包时遇到此错误。请帮助

> utils:::menuInstallPkgs()
trying URL 'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/3.1/rJava_0.9-6.zip'
Content type 'text/html; charset=UTF-8' length 3280 bytes
opened URL
downloaded 3280 bytes

Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : 
  cannot open the connection
In addition: Warning messages:
1: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
2: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
  cannot open compressed file 'rJava/DESCRIPTION', probable reason 'No such file or directory'

0 个答案:

没有答案
相关问题