Even when I attempt to unzip the file on windows, I get an error that says its 
not a compressed file.



From: Rolf Turner [mailto:rolf.tur...@xtra.co.nz]
Sent: Tuesday, October 01, 2013 4:23 PM
To: Steven Dwayne Randolph
Cc: r-help@r-project.org
Subject: Re: [R] 'XML' package cannot be un-zipped or un-tar'd"

On 10/02/13 00:22, Steven Dwayne Randolph wrote:



R-help,



There are several packages that have package 'XML' as a  dependency.  I cannot 
get this package (XML) to extract or  install.  I have tried manually 
downloaded to local machines (client PC and Linux), unsuccessful extraction.  
How can this be compiled manually?  How can a new version be on CRAN and this 
problem still exist?   See the thread for specific errors and screen shots.

What do you mean by "cannot get this package (XML) to extract or install"?

Did you download the tarball "XML_3.98-1.1.tar.gz"?  If so, what happens
when you do "tar xvf XML_3.98-1.1.tar.gz"?

Do you have the requisite R development tools (appropriate compilers etc.)
installed?

What happens if you do the install from within R, as in

    > install.packages("XML",lib=<some library for which you have write 
permission>)   ???

When I tried that I got a whinge about a lack of "xml2-config".  After sum 
yumming around
(I use Fedora Linux) I found that

    sudo yum install libxml2.x86_64 libxml2-devel.x86_64

did the trick, and I was then able to install XML using install.packages().

    cheers,

    Rolf Turner

        [[alternative HTML version deleted]]

______________________________________________
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