Will Terry <will at hss.caltech.edu> writes:
> Hi all,
>
> I'm a new R user trying to import some tab delimited data. It's not
> clear to me why the following code won't work on my Mac:
>
> > read.delim("asphodel:Users:will:Desktop:Math_282:hw2:hw2-
> data1.txt",header=TRUE)
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file `asphodel:Users:will:Desktop:Math_282:hw2:hw1-
> data1.txt'
>
> Is this the correct syntax for specifying the path? Thanks!
Hmm, wouldn't know, but it the most common problem with file paths are
misspellings, and you have it spelled in two different ways there...
Does file.choose do something useful on the Mac?
--
O__ ---- Peter Dalgaard ??ster Farimagsgade 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907