Hi Olivia

On 22 Jan 2005 at 20:55, Olivia Fant wrote:

> I am using the scan command to read a file I called data1.  The
> program returns
> 
>                Error in file(file,"r") : unable to open connection In
>                addition: Warning message: cannot open file 'data1'
> 

I am not exactly sure but 

either your file is locked by some program

or your data1 has an extension which your OS (probably 
Windows) hides and which you need to use

or data1 is in different directory

Do you see it through choose.files() ?

Cheers
Petr

> I already checked to see if the starting directory in R was correct
> and it is. Also, the file opens ok from its directory so it isn't
> corrupted. Does someone have an idea?
> 
>  [[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

Petr Pikal
[EMAIL PROTECTED]

______________________________________________
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

Reply via email to