[R] XML package not working

Steven Dwayne Randolph randolph_steven_d at lilly.com
Tue Oct 22 15:19:28 CEST 2013


Ista,... Thank you for your response.   Here is what is occurring when I attempt to command-line install.
 ----------------------------------------------------------------------------------------------------------------------------------
> install.packages('XML')
Installing package into ‘C:/Users/xxxxxxx/Documents/R/win-library/3.0’
(as ‘lib’ is unspecified)
trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.0/XML_3.98-1.1.zip'
Content type 'application/zip' length 4287270 bytes (4.1 Mb)
opened URL
downloaded 4.1 Mb

Warning in install.packages :
  downloaded length 4276224 != reported length 4287270
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

------------------------------------------------------------------------------------------------------------------------------------------

STeven
-----Original Message-----
From: Ista Zahn [mailto:istazahn at gmail.com] 
Sent: Tuesday, October 22, 2013 8:09 AM
To: Steven Dwayne Randolph
Cc: Duncan Murdoch; r-help at r-project.org; stevendrandolph at aol.com; Piyush Singh - Network
Subject: Re: [R] XML package not working

Hi Steven,

I still don't understand why you are downloading it manually. What happens when you

install.packages("XML")

?

Best,
Ista

On Tue, Oct 22, 2013 at 8:03 AM, Steven Dwayne Randolph <randolph_steven_d at lilly.com> wrote:
> Duncan... Thank you.
>
>         1.   I am able to download the XML file via my corporate network, other packages without this same issue, even rcurl and bitops which are pre-requisites on the same page as XML.
>         2.   I  have attempted to download this from my own wifi at home using xfinity/Comcast to my personal pc and still get the same error on this package alone.
>                 3.   I am genuinely baffled by this package download and install experience.
>                  4.  I would gladly build this from source, If indeed I could find the source and then use RTools to compile it.  That has been unsuccessful as well.   Nightmare? Slightly.
>
> Thanks for your response.....
> Steven
>
> -----Original Message-----
> From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
> Sent: Sunday, October 20, 2013 12:13 PM
> To: Steven Dwayne Randolph; r-help at r-project.org; Ista Zahn
> Cc: stevendrandolph at aol.com
> Subject: Re: [R] XML package not working
>
> On 13-10-20 9:23 AM, Steven Dwayne Randolph wrote:
>> My apologies for not conforming to the posting guideline.
>>
>>
>> Sys.info()
>>                       sysname                      release                      version
>>                     "Windows"                      "7 x64" "build 7601, Service Pack 1"
>>                      nodename                      machine                        login
>>             "xxxxxxNU247BZ1S"                     "x86-64"                    "XXXXXX"
>>                          user               effective_user
>>                     "xxxxxxx"                    "xxxxxxx"
>>
>> When I attempt to install a local copy of the xml.zip file:
>>
>> 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 'XML/DESCRIPTION', probable reason 'No such file or directory'
>
> I think it is pretty clear that the problem is at your end:  you aren't downloading the file properly, even though everyone else is.  Perhaps you are behind a firewall, or something else is interfering with your downloads?
>
> Duncan Murdoch
>
>>
>>
>> -----Original Message-----
>> From: Duncan Murdoch [mailto:murdoch.duncan at gmail.com]
>> Sent: Saturday, October 19, 2013 8:23 PM
>> To: Steven Dwayne Randolph; r-help at r-project.org
>> Cc: stevendrandolph at aol.com
>> Subject: Re: [R] XML package not working
>>
>> On 13-10-19 3:47 PM, Steven Dwayne Randolph wrote:
>>> I know I  cannot be the only one who is not able to install the XML package from CRAN (zip or tar file)  Many packages depend on this XML package.  Can someone help me either access the source for a good binary?  I have received no assistance from the author/developer of the package.
>>
>> It installs fine for me.
>>
>> Duncan Murdoch
>>
>


More information about the R-help mailing list