[R] R 3.0.3, Windows 7: Problem installing XML package

Uwe Ligges ligges at statistik.tu-dortmund.de
Sat Apr 12 00:53:15 CEST 2014


Works for me.

Best,
Uwe Ligges



On 11.04.2014 17:10, Alpesh Pandya wrote:
> Using install.package('XML') command produces this error:
>
> trying URL
> '
> http://watson.nci.nih.gov/cran_mirror/bin/windows/contrib/3.0/XML_3.98-1.1.zip
> '
> Content type 'application/zip' length 4288136 bytes (4.1 Mb)
> opened URL
> downloaded 4.1 Mb
>
> Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
>    cannot open the connection
> In addition: Warning messages:
> 1: In download.file(url, destfile, method, mode = "wb", ...) :
>    downloaded length 4276224 != reported length 4288136
> 2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
> 3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
>    cannot open compressed file 'XML/DESCRIPTION', probable reason 'No such
> file or directory'
>
>
> Upon receiving this error, I downloaded XML_3.98-1.1.zip directly from cran
> site. But this zip file is not a valid archive (cannot open using winzip).
> Also trying to install using this downloaded file produces the following
> error:
>
> Installing package into 'C:/Users/APandya/Documents/R/win-library/3.0'
> (as 'lib' is unspecified)
> Warning in install.packages :
>    error 1 in extracting from zip file
> Warning in install.packages :
>    cannot open compressed file 'XML/DESCRIPTION', probable reason 'No such
> file or directory'
> Error in install.packages : cannot open the connection
>
> I  downloaded this zip file from multiple sources and tried to install with
> same result.
>




More information about the R-help mailing list