[R-SIG-Mac] import data Mac OS

Jason Lessels jlessels at gmail.com
Mon May 2 15:54:08 CEST 2011


You could also simplify the path using teh '~' symbol

read.csv(file="~/Desktop/heightweight.csv")

Jason

On 02/05/2011, at 3:37 PM, Michael Kubovy wrote:

> Hi Thor,
> 
> Open a terminal window, drag the .csv file to that window, copy the path that will appear in that terminal into your read.csv command.
> 
> Michael Kubovy
> 
> On May 2, 2011, at 9:28 AM, Thor Jensen wrote:
> 
>> 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"
> 
> _______________________________________________
> 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