[R] please help me!
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Jan 29 20:40:38 CET 2004
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 mpalmier at mines.edu 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, ripley at stats.ox.ac.uk
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
More information about the R-help
mailing list