See the rw-FAQ Q2.14 R can't find my file, but I know it is there! I'd be interested to know why you didn't find that -- the posting guide does ask you to read the rw-FAQ, so I presume there is connection that is not obvious to you.
On Thu, 29 Jan 2004 [EMAIL PROTECTED] wrote: > hello there, > 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 guess a \ is missing there, as addressed in Q2.14. > I have made sure that my working directory is the same as the place > where the file is. In that case you don't need c:, do you? > I have also tried using the full path name of the file. read.table, > read.delim, read.csv, and scan have all been attempted with no result. > What causes this message, and how can I fix it. Thanks in advance for > your help, -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html