无法安装R程序包

无法安装R程序包,r,r-package,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.

当我尝试在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'

您的网络是否配置为通过代理服务器?您可能需要执行setInternet2等操作,如果是这样,您也可以尝试在本地下载软件包,然后从Source安装。我确实尝试过从本地驱动器安装。不走运。在获得管理员权限后,我收到了相同的错误消息,我可以安装。