[R] read.csv from a remote machine

Mark Wardle mwardle at gmail.com
Tue Aug 4 20:16:13 CEST 2009


I would use sshfs or an alternatively remote file system access. Ssh  
to your Linux box and then mount the mac os x filesystem via sshfs, or  
afs for example. Alternatively, can't you copy the data to the Linux  
box using sftp first?

-- 
Dr. Mark Wardle
Specialist registrar, Neurology
(Sent from my mobile)


On 4 Aug 2009, at 18:50, "Olga Lyashevska" <olga at herenstraat.nl> wrote:

> Thanks Barry and Steve,
>
>>> I am trying to import data with read.csv and my file is on remote  
>>> machine.
>>> I believe that I need to open a connection, not sure about syntax  
>>> though.
>> Probably works with ftp: too. How remote is it?
>
> In fact it is a bit more complicated.
> I am working on a Mac machine, from this machine I establish ssh  
> with a Linux machine. I run R on Linux, while all my data files are  
> stored on Mac. So in this case although physically I am using Mac,  
> it is in fact remote. I hope it answers your question.
>
>
> Thanks again,
> Olga
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>




More information about the R-help mailing list