[R] error in file(file, "r")

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Tue 19 Oct 2004 - 11:53:17 EST

On Tue, 19 Oct 2004 09:10:45 +0800 (CST), shizhu zang <zangshizhu@yahoo.com.cn> wrote:
>Hi, there.
> I am trying to read a file into R, but I got following message
>Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `SwirlSample.txt' .
>In fact, my file has been already in the current working directory.
>My R is running on window operation system instead of UNIX.

What was the command you used? What version of R are you running? How did you determine that the file was in the working directory?

Not to pick on you in particular, but there does seem to have been a rash of incomplete questions posted lately. Please, before you post, try to guess what the obvious questions will be, and answer them!

Duncan Murdoch



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 Received on Tue Oct 19 12:02:52 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:58:05 EST