Maria I. Tchalakova wrote:
Hello,

thanks a lot for the replies. I've installed the binary for R-2.8.x
available at:
http://www.statistik.uni-dortmund.de/~ligges/Rstem_0.3-1.zip

However, when I try using some of the functions, such as
getStemLanguages() or wordStem(), I get:


Have you loaded the package via

  library("Rstem")  ?

It works for me.


getStemLanguages()
Error: could not find function "getStemLanguages"

or

words = c("sing", "singing", "singer")
wordStem(words, language = "english")
Error: could not find function "wordStem"

Why do I get this? Haven't I installed the package correctly? I've
done this using the R Gui: "Packages" --> "Install package(s) from
local zip files ...", have chosen the .zip file, which I've downloaded
from the URL you sent me, and I got:

utils:::menuInstallLocal()
package 'Rstem' successfully unpacked and MD5 sums checked
updating HTML package descriptions

Do I need to do something else? I receive the same results after
installing (in this way) the the binary for R-2.7.x.

Prof Brian Ripley wrote:
b) A few are available from CRAN extras (one of the default repositories on 
Window), and I've added Rstem.

I'm sorry, I didn't understand what you mean by "CRAN extras". I have
googled and found this page with binaries checks for Windows, but
there is no Rstem package there, and it is just a "check" (no files
which I could download):
http://cran.r-project.org/bin/windows/contrib/checkSummaryWin.html

No, Brian meant the CRAN extras repository he maintains in Oxford. And since it is a default repository for R binary packages for Windows, now also
install.packages("Rstem")
should work for you.

Anyway, you always need to load the package before using it.

 Uwe Ligges


Regards


On 3/5/09, Prof Brian Ripley <rip...@stats.ox.ac.uk> wrote:
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@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,                  rip...@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

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

______________________________________________
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