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 type 'application/zip' length 41992 bytes (41 Kb) opened URL downloaded 41 Kb trying URL 'http://cran.mirrors.hoobly.com/bin/windows/contrib/2.11/tm_0.5-3.zip' Content type 'application/zip' length 671517 bytes (655 Kb) opened URL downloaded 655 Kb package 'slam' successfully unpacked and MD5 sums checked Error in normalizePath(path) : path[1]="C:\Program Files\R\R-2.11.1\library/slam": The system cannot find the file specified Then when I try to do a library(tm) I get the following: Error in library(tm) : there is no package called 'tm' Does anybody have any insight into what I'm doing wrong here? -- View this message in context: http://r.789695.n4.nabble.com/problem-with-using-tm-tp2293581p2293581.html Sent from the R help mailing list archive at Nabble.com.
On 07/19/2010 03:59 PM, cob wrote:> ... > Error in normalizePath(path) : > path[1]="C:\Program Files\R\R-2.11.1\library/slam": The system cannot find > the file specified >Hi cob, That path looks like it won't be read properly - the backslashes should be doubled. Jim
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-using-tm-tp2293581p2294913.html Sent from the R help mailing list archive at Nabble.com.
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-tp2293581p2294917.html Sent from the R help mailing list archive at Nabble.com.
On 20.07.2010 06:24, cob wrote:> > Thanks for the response. I used this command: > .libPaths(c("C:\\Program Files\\R\\R-2.11.1\\library\\slam",.libPaths()))No, the .libPaths() should contain "C:\\Program Files\\R\\R-2.11.1\\library" or the same with single forward slashes. If that is already the case, we have to little information to find out why it does not work for you. Uwe Ligges> > but I still get the same response from the system (as in my first post) when > I try to library("tm")