[R] Installing the Rstem package

Maria I. Tchalakova maria.tchalakova at gmail.com
Thu Mar 5 19:42:15 CET 2009


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




More information about the R-help mailing list