Re: [R] wordStem problems in R 2.9, Fedora 11; Linux Kernel 2.6.29.5-191.fc11.i586

2009-07-09 Thread Reitsma, Rene - COB
Duncan, Thanks for helping. I reinstalled Rstem from source (using the omegahat URL) and this time things are working. :-) RR -Original Message- From: Duncan Temple Lang [mailto:dun...@wald.ucdavis.edu] Sent: Tuesday, July 07, 2009 5:33 PM To: Reitsma, Rene - COB Cc: r-help@r

[R] wordStem problems in R 2.9, Fedora 11; Linux Kernel 2.6.29.5-191.fc11.i586

2009-07-07 Thread Reitsma, Rene - COB
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()

[R] How to refer to a list member by variable

2008-12-01 Thread Reitsma, Rene - COB
Dear All, I'm hoping one of you can help me with the following R problem. I'm trying to refer to a member of a list by variable. However, this seems not to work: foo=list(first=c(1:10),second=c(11:20)) foo$first [1] 1 2 3 4 5 6 7 8 9 10 foo$first [1] 1 2 3 4 5 6 7 8 9 10

[R] logical operators in 'subset'

2008-11-13 Thread Reitsma, Rene - COB
Dear All, Am I correct in believing that logical operators such as and || cannot be used as part of a 'subset' logical expression? Example: foo = as.data.frame(matrix(c(1:9), nrow=3, ncol=3, dimnames=list(c(r1,r2,r3),c(c1,c2,c3 foo c1 c2 c3 r1 1 4 7 r2 2 5 8 r3 3 6 9