[R] data import
Roger Peng
rpeng at stat.ucla.edu
Sat Jan 11 18:16:02 CET 2003
If you're using Mac OS 8.6 then you can't use / as a path separator
(unless that is part of the filename?). Maybe try specifying the full
path to the file using the file.path() function.
-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng
On Sat, 11 Jan 2003, Rogerio Rosa da Silva wrote:
>
> Hello,
>
> I'm a new user of R, and unsure of why I'm getting an
>
> error reading external files on my Mac OS 8.6 machine.
>
> I've read through posts that would seem related (and 'R
>
> Import/Export' and 'Introduction to R') but to no avail.
>
> If anyone has any suggestions, I'd be very grateful. Here's the problem:
>
> When I enter the command:
>
> > guilds <- read.table(file = "/untitled.teste.txt")
>
> I get the message:
>
> > Error in file(file, "r") : unable to open connection
>
> I'm sure this is just a simple matter but I'm perplexed.
>
> Thanks for any suggestions,
>
> Rogério R. Silva
>
>
> --
> Rogerio Rosa da Silva
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
More information about the R-help
mailing list