Displaying 1 result from an estimated 1 matches for "harddrivename".
2009 Jul 16
4
loading a file in R in mac OS X
...in
the stats textbook i'm using to learn R. I run R on a macintosh, and i have
not been able to load any data files yet. For instance, if I have a data
table in a file called schools.txt on my desktop, i've been trying to load
the table as such:
> schools <-
> read.table("c:\harddrivename\users\username\desktop\schools.txt",
> header=T,row.names=1)
(obviously for the purposes of posting in this forum i've entered generic
folder names.)
No matter how i ammend the path, i get the following error message:
Error in file(file, "r") : cannot open the connection
In...