Hi R users, Im trying to install XML source package (in window platform) using the following command. *install.packages(pkgs = "C:\\Documents and Settings\\skang\\Desktop\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", repos NULL, type = "source")* and get the following result. gzip: stdin: unexpected end of file /cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive /cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive /cygdrive/c/Rtools/bin/tar: Error is not recoverable: exiting now ERROR: error unpacking tarball Warning message: In install.packages(pkgs = "C:\\Documents and Settings\\skang\\Desktop\\SK\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", : installation of package 'C:/DOCUME~1/skang/Desktop/SOFTWA~1/R/Library/XML_2.6-0.tar.gz' had non-zero exit status I have installed Rtools from http://www.murdoch-sutherland.com/Rtools/ and have added 'Rtools\bin' to the environment variables path. Am I missing something? -- Steven [[alternative HTML version deleted]]
Augusto.Sanabria at ga.gov.au
2010-Feb-01 00:45 UTC
[R] Installling source package [SEC=UNCLASSIFIED]
Steven,
Package 'XML_2.6-0.tar.gz' is the Linux version,
it doesn't unpack in Windows.
For Windows you need to download and instal:
'XML_2.6-0.zip'.
Which is available from:
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.10/
Cheers,
Augusto
--------------------------------------------
Augusto Sanabria. MSc, PhD.
Mathematical Modeller
Risk & Impact Analysis Group
Geospatial & Earth Monitoring Division
Geoscience Australia (www.ga.gov.au)
Cnr. Jerrabomberra Av. & Hindmarsh Dr.
Symonston ACT 2601
Ph. (02) 6249-9155
-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Steven Kang
Sent: Monday, 1 February 2010 10:56
To: r-help at r-project.org
Subject: [R] Installling source package
Hi R users,
Im trying to install XML source package (in window platform) using the following
command.
*install.packages(pkgs = "C:\\Documents and
Settings\\skang\\Desktop\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", repos =
NULL, type = "source")*
and get the following result.
gzip: stdin: unexpected end of file
/cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive
/cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive
/cygdrive/c/Rtools/bin/tar: Error is not recoverable: exiting now
ERROR: error unpacking tarball
Warning message:
In install.packages(pkgs = "C:\\Documents and
Settings\\skang\\Desktop\\SK\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", :
installation of package
'C:/DOCUME~1/skang/Desktop/SOFTWA~1/R/Library/XML_2.6-0.tar.gz' had
non-zero exit status I have installed Rtools from
http://www.murdoch-sutherland.com/Rtools/ and have added 'Rtools\bin' to
the environment variables path.
Am I missing something?
--
Steven
[[alternative HTML version deleted]]
______________________________________________
R-help at 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.
Most likely you have a corrupted tarball, so I would compare its size with that on the CRAN master (which to me looks like 680366 bytes). Note though that you need to get XML to work on Windows - to get appropriate versions of libxml2 and its dependencies iconv and zlib. - to make changes to the XML source tarball. So why not just use the binary provided on CRANextras? (The changed sources used there are at http://www.stats.ox.ac.uk/pub/RWin/GPLcompliance/XML_2.6-0.tar.gz, but you will need libxml2 etc as well.) On Mon, 1 Feb 2010, Steven Kang wrote:> Hi R users, > > Im trying to install XML source package (in window platform) using the > following command. > > *install.packages(pkgs = "C:\\Documents and > Settings\\skang\\Desktop\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", repos > NULL, type = "source")* > > and get the following result. > gzip: stdin: unexpected end of file > /cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive > /cygdrive/c/Rtools/bin/tar: Unexpected EOF in archive > /cygdrive/c/Rtools/bin/tar: Error is not recoverable: exiting now > ERROR: error unpacking tarball > Warning message: > In install.packages(pkgs = "C:\\Documents and > Settings\\skang\\Desktop\\SK\\Softwares\\R\\Library\\XML_2.6-0.tar.gz", : > installation of package > 'C:/DOCUME~1/skang/Desktop/SOFTWA~1/R/Library/XML_2.6-0.tar.gz' had non-zero > exit status > I have installed Rtools from http://www.murdoch-sutherland.com/Rtools/ and > have added 'Rtools\bin' to the environment variables path. > > Am I missing something? > > > -- > Steven > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595