R FAQ 5.1.2: Some CRAN packages that do not build out of the box on
Windows, require additional software, or are shipping third party libraries
for Windows cannot be made available on CRAN in form of a Windows binary
package. Nevertheless, some of these packages are available at the
“CRAN extras”
repository at http://www.stats.ox.ac.uk/pub/RWin/ kindly provided by Brian
D. Ripley. Note that this repository is a default repository for recent
versions of R for Windows.

This applies to the 'XML' package. install.packages("XML") should work.

This is a regular issue coming up on the mailing list, so a quick search
should have found the issue. The XML readme file points out that building
on windows is not as simple as on other platforms.

Paul Bivand


On 19 October 2013 20:51, Steven Dwayne Randolph <
randolph_steve...@lilly.com> wrote:

> 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.
>

        [[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