[R] read.csv from a remote machine
Barry Rowlingson
b.rowlingson at lancaster.ac.uk
Tue Aug 4 18:09:58 CEST 2009
On Tue, Aug 4, 2009 at 3:37 PM, Olga Lyashevska<olga at herenstraat.nl> 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, just give the URL to read.csv:
> data = read.csv("http://foo.example.com/file.csv")
Probably works with ftp: too. How remote is it?
Barry
More information about the R-help
mailing list