On 13-10-22 9:19 AM, Steven Dwayne Randolph wrote:
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

Read the message: your download is failing. The file is being mangled during the download.

I just tried from the same mirror, and it was fine.

As I said before, there is something wrong on your system that is messing up file transfers.

You could try downloading the file some other way, and confirming that the length comes out to 4287270.

Duncan Murdoch


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

STeven
-----Original Message-----
From: Ista Zahn [mailto:istaz...@gmail.com]
Sent: Tuesday, October 22, 2013 8:09 AM
To: Steven Dwayne Randolph
Cc: Duncan Murdoch; r-help@r-project.org; stevendrando...@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_steve...@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.dun...@gmail.com]
Sent: Sunday, October 20, 2013 12:13 PM
To: Steven Dwayne Randolph; r-help@r-project.org; Ista Zahn
Cc: stevendrando...@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.dun...@gmail.com]
Sent: Saturday, October 19, 2013 8:23 PM
To: Steven Dwayne Randolph; r-help@r-project.org
Cc: stevendrando...@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



______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to