The error message seems pretty clear in this case. It can't find the file. Try this instead:
x <- read.table(file.choose()) and then use the resulting GUI to locate the file. On 1/27/06, Michael <[EMAIL PROTECTED]> wrote: > Hi all, > > I am wondering what's wrong with my following code? > > x=read.table('c:\\llll.txt'); > > Error in file(file, "r") : unable to open connection > In addition: Warning message: > cannot open file 'c:\llll.txt', reason 'No such file or directory' > > > what's wrong? > > Thanks > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html