Can someone tell me what this error means? I have been unable to find the problem. Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `d://clss2003/s151b/data/applemo.txt' thanks
On Tue, Feb 25, 2003 at 06:21:52PM -0800, AH wrote:> Can someone tell me what this error means? I have been unable to find > the problem. > > Error in file(file, "r") : unable to open connection > In addition: Warning message: > cannot open file `d://clss2003/s151b/data/applemo.txt'You asked to read a file, and what you told R about the file location and name did not result in a successful operation -- in other words, the could not be opened for R by the OS because what you tought was the correct location ... was in fact wrong. May be as easy as removing the second / to yield 'd:/clss2003/s151b/data/applemo.txt' Dirk -- Three out of two people have difficulties with fractions.
On Tue, 25 Feb 2003, AH wrote:> Can someone tell me what this error means? I have been unable to find > the problem. > > Error in file(file, "r") : unable to open connection > In addition: Warning message: > cannot open file `d://clss2003/s151b/data/applemo.txt'^^ That's not a valid path to a file on Windows 9x, at least. -- 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