[R] read.csv from a remote machine

2009-08-04 Thread Olga Lyashevska
Dear all, 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. I would appreciate any suggestions, Thanks! Olga __ R-help@r-project.org mailing list

Re: [R] read.csv from a remote machine

2009-08-04 Thread Steve Lianoglou
Hi, On Aug 4, 2009, at 10:37 AM, Olga Lyashevska wrote: Dear all, 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. I would appreciate any suggestions, Look at the different ways you can

Re: [R] read.csv from a remote machine

2009-08-04 Thread Barry Rowlingson
On Tue, Aug 4, 2009 at 3:37 PM, Olga Lyashevska wrote: > Dear all, > > 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. If it's on an HTTP server then you don't need to faff with connections, jus

Re: [R] read.csv from a remote machine

2009-08-04 Thread Olga Lyashevska
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,

Re: [R] read.csv from a remote machine

2009-08-04 Thread Mark Wardle
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 fro

Re: [R] read.csv from a remote machine

2009-08-05 Thread Olga Lyashevska
Thanks for your suggestions Mark, On 04.08.2009, at 19:16, Mark Wardle wrote: Alternatively, can't you copy the data to the Linux box using sftp first? This is perhaps the easiest option. I have established sftp connection. Now I simply add all files I need to use. So the problem is solve