On Tue, Aug 4, 2009 at 3:37 PM, Olga Lyashevska<[email protected]> 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
______________________________________________
[email protected] 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.