0

I hit this error when I try to install rJava package in R. Please help

> 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'
bartektartanus
  • 15,284
  • 6
  • 74
  • 102
gianteagle
  • 67
  • 5

0 Answers0