Thanks David, for answering this question.
> On Oct 8, 2009, at 4:33 AM, msig...@yahoo.com wrote: > >> Dear all >> when I try to install "distr", the following error appears, I am using >> R in windows. can u suggest me? >> > > I'm not a Windows user, but the obvious questions would be "How?". What > commands or method? and "Which?" (version of Windows and the ever > present question for Vista users ... what is your level of admin > privileges), and "Is that everything?" (was that the entire output?) > > And the second obvious question: Why have you not included output from: > > sessionInfo() > > Perhaps a not so obvious question that you should answer: what is the > output from: > > .libPaths() > > >> Error in normalizePath(path) : >> path[1]="C:\Program Files\R\R-2.9.1\library/distr": The system cannot >> find the file specified I can assist David's comments. @ the original poster: It might be a backslash thing (and does not seem to be connected to package distr in any respect): Within R, even on Windows, you can use the forward slash as folder separator, so your trailing "/distr" seems to be oK. Backslashes, which in R on Windows may also serve for this purpose, have to be escaped, so you might eigher try "C:/Program Files/R/R-2.9.1/library/distr" or "C:\\Program Files\\R\R-2.9.1\\library/distr" In fact you have not told us all you saw, I suppose: Didn't you get this warning, too? In addition: Warning messages: 1: '\P' is an unrecognized escape in a character string 2: '\R' is an unrecognized escape in a character string 3: '\R' is an unrecognized escape in a character string 4: unrecognized escapes removed from "C:\Program Files\R\R-2.9.1/distr" which already told you the problem. btw: it would be nice also if you could at least tell us your name so that we can address you personally. Peter Ruckdeschel, maintainer of package distr ______________________________________________ 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.