[R] please help me!
Jeff Gentry
jgentry at jimmy.harvard.edu
Thu Jan 29 20:37:39 CET 2004
> I'm a new user to R and I am having difficulty reading a file into the
> program. Here's the error I keep getting, I bet there's a simple solution,
> but I cant find any...
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file `c:MikeWeather2.txt'
I am guessing that you didn't escape the backslash in the filename
'c:\MikeWeather2.txt', so you would have to refer to it as
'c:\\MikeWeather2.txt' in R. But, since you didn't show what you did to
spawn the error, I could be wrong
More information about the R-help
mailing list