Reitsma, Rene - COB
2009-Jul-07 22:00 UTC
[R] wordStem problems in R 2.9, Fedora 11; Linux Kernel 2.6.29.5-191.fc11.i586
Dear All, I just updated from Fedora 9 to Fedora 11, kernel version 2.6.29.5-191.fc11.i586. I'm running R 2.9. I successfully installed package Rstem from source (it always ran fine for me in F9). However:> wordStem(c("This","is","a","test"))Error in wordStem(c("This", "is", "a", "test")) : VECTOR_ELT() can only be applied to a 'list', not a 'character' Any idea what causes this / how I can fix this? RR
Duncan Temple Lang
2009-Jul-08 00:33 UTC
[R] wordStem problems in R 2.9, Fedora 11; Linux Kernel 2.6.29.5-191.fc11.i586
Hi Rene Can you tell us the version of the Rstem package you installed. Rstem_0.3-1 from http://www.omegahat.org/Rstem/ or install.packages("Rstem", repos = "http://www.omegahat.org/R") work fine for me. I seem to recall this being a problem with an older version of Rstem. D. Reitsma, Rene - COB wrote:> Dear All, > > I just updated from Fedora 9 to Fedora 11, kernel version > 2.6.29.5-191.fc11.i586. I'm running R 2.9. > > I successfully installed package Rstem from source (it always ran fine > for me in F9). However: > >> wordStem(c("This","is","a","test")) > Error in wordStem(c("This", "is", "a", "test")) : > VECTOR_ELT() can only be applied to a 'list', not a 'character' > > Any idea what causes this / how I can fix this? > > RR > > ______________________________________________ > 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.