Hello, I am trying to install the Rstem package, but I have problems. I am using Windows XP and the 2.8.1 version of R. I have read the "Add-on packages" chapter of the "R Installation and Administration" manual, and also have tried several things, which worked for other people on the mailing list having faced the same problem (http://tolstoy.newcastle.edu.au/R/help/06/03/22889.html). I paste below the things, which I have tried and the results. I don't understand what the message "installation of package 'Rstem' had non-zero exit status" mean, which I get on my last try below. Could anyone advise me what should I do? Thank you. p.s. I have successfully installed the lsa package, which depends on the Rstem package. ###### First Try ######> chooseCRANmirror() > install.packages(c("Rstem", "lsa"))trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.8/lsa_0.61.zip' Content type 'application/zip' length 205671 bytes (200 Kb) opened URL downloaded 200 Kb package 'lsa' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Documents and Settings\Administrator\Local Settings\Temp\RtmpdBelSq\downloaded_packages updating HTML package descriptions Warning message: package ?Rstem? is not available ###### Second Try ########> install.packages("Rstem", repos = "http://www.omegahat.org/R")Warning: unable to access index for repository http://www.omegahat.org/R/bin/windows/contrib/2.8 Warning message: package ?Rstem? is not available ###### Third Try ######> install.packages("Rstem", repos = "http://www.omegahat.org/Rstem/")Warning: unable to access index for repository http://www.omegahat.org/Rstem/bin/windows/contrib/2.8 Warning message: package ?Rstem? is not available The Rstem package could be found here: http://www.omegahat.org/Rstem/ ###### Fourth Try ######> install.packages("Rstem", repos = "http://www.omegahat.org/R", type = "source")trying URL 'http://www.omegahat.org/R/src/contrib/Rstem_0.3-1.tar.gz' Content type 'application/x-gzip' length 606408 bytes (592 Kb) opened URL downloaded 592 Kb tar (child): Cannot open archive /cygdrive/C\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RtmpdBelSq/downloaded_packages/Rstem_0.3-1.tar.gz: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors Error: cannot untar the package The downloaded packages are in C:\Documents and Settings\Administrator\Local Settings\Temp\RtmpdBelSq\downloaded_packages Warning message: In install.packages("Rstem", repos = "http://www.omegahat.org/R", : installation of package 'Rstem' had non-zero exit status ######
Have you tried the binary for R-2.7.x available from http://www.omegahat.org/R/bin/windows/contrib/2.7/Rstem_0.3-1.zip which might or might not work for recent versions of R. Have you asked the Omegahat maintainer for an update of the (obviously quite outdated) Windows repositories? CCing now. Your build tools are not set up correctly according to the error messages you get when trying to install from sources. I have made a binary for R-2.8.x available at: http://www.statistik.uni-dortmund.de/~ligges/Rstem_0.3-1.zip which will be removed again shortly. Uwe Ligges Maria I. Tchalakova wrote:> Hello, > > I am trying to install the Rstem package, but I have problems. I am > using Windows XP and the 2.8.1 version of R. I have read the "Add-on > packages" chapter of the "R Installation and Administration" manual, > and also have tried several things, which worked for other people on > the mailing list having faced the same problem > (http://tolstoy.newcastle.edu.au/R/help/06/03/22889.html). > > I paste below the things, which I have tried and the results. I don't > understand what the message "installation of package 'Rstem' had > non-zero exit status" mean, which I get on my last try below. Could > anyone advise me what should I do? Thank you. > > p.s. I have successfully installed the lsa package, which depends on > the Rstem package. > > > > ###### First Try ###### >> chooseCRANmirror() >> install.packages(c("Rstem", "lsa")) > trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.8/lsa_0.61.zip' > Content type 'application/zip' length 205671 bytes (200 Kb) > opened URL > downloaded 200 Kb > > package 'lsa' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Documents and Settings\Administrator\Local > Settings\Temp\RtmpdBelSq\downloaded_packages > updating HTML package descriptions > Warning message: > package ?Rstem? is not available > > > ###### Second Try ######## >> install.packages("Rstem", repos = "http://www.omegahat.org/R") > Warning: unable to access index for repository > http://www.omegahat.org/R/bin/windows/contrib/2.8 > Warning message: > package ?Rstem? is not available > > > > ###### Third Try ###### >> install.packages("Rstem", repos = "http://www.omegahat.org/Rstem/") > Warning: unable to access index for repository > http://www.omegahat.org/Rstem/bin/windows/contrib/2.8 > Warning message: > package ?Rstem? is not available > > > The Rstem package could be found here: > http://www.omegahat.org/Rstem/ > > > > ###### Fourth Try ###### >> install.packages("Rstem", repos = "http://www.omegahat.org/R", type = "source") > > trying URL 'http://www.omegahat.org/R/src/contrib/Rstem_0.3-1.tar.gz' > Content type 'application/x-gzip' length 606408 bytes (592 Kb) > opened URL > downloaded 592 Kb > > tar (child): Cannot open archive > /cygdrive/C\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RtmpdBelSq/downloaded_packages/Rstem_0.3-1.tar.gz: > No such file or directory > tar (child): Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error exit delayed from previous errors > Error: cannot untar the package > > The downloaded packages are in > C:\Documents and Settings\Administrator\Local > Settings\Temp\RtmpdBelSq\downloaded_packages > Warning message: > In install.packages("Rstem", repos = "http://www.omegahat.org/R", : > installation of package 'Rstem' had non-zero exit status > ###### > > ______________________________________________ > 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.
I don't understand the last message either: the build environment has problems. a) There seem to be no Windows binaries on Omegahat for R > 2.7. b) A few are available from CRAN extras (one of the default repositories on Window), and I've added Rstem. So please try again now. On Thu, 5 Mar 2009, Maria I. Tchalakova wrote:> Hello, > > I am trying to install the Rstem package, but I have problems. I am > using Windows XP and the 2.8.1 version of R. I have read the "Add-on > packages" chapter of the "R Installation and Administration" manual, > and also have tried several things, which worked for other people on > the mailing list having faced the same problem > (http://tolstoy.newcastle.edu.au/R/help/06/03/22889.html). > > I paste below the things, which I have tried and the results. I don't > understand what the message "installation of package 'Rstem' had > non-zero exit status" mean, which I get on my last try below. Could > anyone advise me what should I do? Thank you. > > p.s. I have successfully installed the lsa package, which depends on > the Rstem package.Only for some restricted value of 'success'.> > > ###### First Try ###### >> chooseCRANmirror() >> install.packages(c("Rstem", "lsa")) > trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.8/lsa_0.61.zip' > Content type 'application/zip' length 205671 bytes (200 Kb) > opened URL > downloaded 200 Kb > > package 'lsa' successfully unpacked and MD5 sums checked > > The downloaded packages are in > C:\Documents and Settings\Administrator\Local > Settings\Temp\RtmpdBelSq\downloaded_packages > updating HTML package descriptions > Warning message: > package ?Rstem? is not available > > > ###### Second Try ######## >> install.packages("Rstem", repos = "http://www.omegahat.org/R") > Warning: unable to access index for repository > http://www.omegahat.org/R/bin/windows/contrib/2.8 > Warning message: > package ?Rstem? is not available > > > > ###### Third Try ###### >> install.packages("Rstem", repos = "http://www.omegahat.org/Rstem/") > Warning: unable to access index for repository > http://www.omegahat.org/Rstem/bin/windows/contrib/2.8 > Warning message: > package ?Rstem? is not available > > > The Rstem package could be found here: > http://www.omegahat.org/Rstem/ > > > > ###### Fourth Try ###### >> install.packages("Rstem", repos = "http://www.omegahat.org/R", type = "source") > > trying URL 'http://www.omegahat.org/R/src/contrib/Rstem_0.3-1.tar.gz' > Content type 'application/x-gzip' length 606408 bytes (592 Kb) > opened URL > downloaded 592 Kb > > tar (child): Cannot open archive > /cygdrive/C\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RtmpdBelSq/downloaded_packages/Rstem_0.3-1.tar.gz: > No such file or directory > tar (child): Error is not recoverable: exiting now > tar: Child returned status 2 > tar: Error exit delayed from previous errors > Error: cannot untar the package > > The downloaded packages are in > C:\Documents and Settings\Administrator\Local > Settings\Temp\RtmpdBelSq\downloaded_packages > Warning message: > In install.packages("Rstem", repos = "http://www.omegahat.org/R", : > installation of package 'Rstem' had non-zero exit status > ###### > > ______________________________________________ > 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