Skip to content
Back to formatted view

Raw Message

Message-ID: <BANLkTinLagUs6scGh_ACiLSJpGy3GpmxEg@mail.gmail.com>
Date: 2011-05-02T13:38:24Z
From: Martin Ellis
Subject: import data Mac OS
In-Reply-To: <BANLkTinDuwHo8GE5h6LcRKLCoUiQ-YpsWQ@mail.gmail.com>

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
>