[R] read.table (trying one more time)
dwinsemius at comcast.net
Thu Feb 25 22:17:52 CET 2010
On Feb 25, 2010, at 3:10 PM, Mestat wrote:
> Hey listers,
> I've posted this doubt other day... But I am still having a hard
> I have a MAC and I am not getting how to use the read.table command...
> At the bottom of the FINDER application I have the following path:
> Macintosh HD>Usuários>User>Marcio>UdeM>Travail Dirigé>Data>MU284
> I didn't find out how I could copy and paste this path as it is
> possible to
> do with the Windows. But, it's ok, cause I am trying the following
> with all possible choices, as below:
> file<-read.table("/User/Marcio/UdeM/Travail Dirigé/Data/MU284
> file<-read.table("/Users/Marcio/UdeM/Travail Dirigé/Data/MU284
> file<-read.table("/Usuários/User/Marcio/UdeM/Travail Dirigé/Data/MU284
> file<-read.table("/Usuários/Users/Marcio/UdeM/Travail Dirigé/Data/
> I've checked already the forum and I found a similar post that says
> to use
> the command with the following path: "/Users/Marcio/UdeM/Travail
> Dirigé/Data/MU284 Population.txt"
> But at the bottom of the FINDER application is just USER.
> Anyway I tried those options and other... But didn't work...
> If anybody could give me a clue... THANKS A LOT!!!
Two choices (and in any case, don't call your input dataframe just
"file", although that is probably not why you are having problems):
option 1) Type in:
### then click-hold-drag the file from a Finder window to the R
console until the cursor bar is between the two quotes, then "release-
## and then navigate to the location of your file using the Mac File
And in the future, such questions should go to the Mac-SIG list.
David Winsemius, MD
West Hartford, CT
More information about the R-help