Re: [R] problem with using tm

2010-07-19 Thread cob
I found these posts which talk about the same problem: https://stat.ethz.ch/pipermail/r-help/2009-April/194808.html I then tried temporarily disabling my Norton protection but it made no difference. :( -- View this message in context: http://r.789695.n4.nabble.com/problem-with-using-tm-tp229358

Re: [R] problem with using tm

2010-07-19 Thread cob
Thanks for the response. I used this command: .libPaths(c("C:\\Program Files\\R\\R-2.11.1\\library\\slam",.libPaths())) but I still get the same response from the system (as in my first post) when I try to library("tm") -- View this message in context: http://r.789695.n4.nabble.com/problem-with

[R] problem with using tm

2010-07-19 Thread cob
I have R installed on my computer and want to use the tm module. I selected a CRAN mirror then selected tm on the install package menu. This is the response I got: also installing the dependency ‘slam’ trying URL 'http://cran.mirrors.hoobly.com/bin/windows/contrib/2.11/slam_0.1-13.zip' Content t

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")) :

[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

[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