[R-SIG-Mac] import data Mac OS

Martin Ellis martin.ellis at gmail.com
Mon May 2 15:38:24 CEST 2011


Hi,

Looks like you're using the MacOS-type path name, rather than the unix-type.
The following should work:
read.csv(file="/Users/ThorJ/Desktop/heightweight.csv")

Cheers,
Martin

On 2 May 2011 14:28, Thor Jensen <thor.jsn at gmail.com> wrote:
> Hello,
>
> I am unable to write a pathway to .csv files saved on my computer.  I
> can get this to work on a windows machine, but the mac returns a
> message saying the file does not exist.  Any tips on how to import
> data on mac's?  For example, the below line was unsuccesful.
> read.csv(file="Macintosh HD:Users:ThorJ:Desktop:heightweight.csv"
>
> Many thanks,
>
> Thor
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



More information about the R-SIG-Mac mailing list