[R] Reading zipped data directly from an FTP url
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Thu Oct 9 11:30:28 CEST 2008
Sorry, I am clearly missing something here.
I want to read this file directly:
I tried using
But I got an error:
Error in open.connection(file, "r") : cannot open the connection
In addition: Warning message:
In open.connection(file, "r") :
cannot open compressed file
.zip', probable reason 'No such file or directory'
With all the different ways of opening connections (url(), unz(),
gzfile(), gzcon() etc) I am just getting a bit lost. The above zip
archive contains a single tab-delimited file, but one which I need to
skip the first 5 lines.
Any help appreciated!
More information about the R-help