Re: [R] Reading zipped data directly from an FTP url

2008-10-09 Thread Prof Brian Ripley
On Thu, 9 Oct 2008, michael watson (IAH-C) wrote: Hi Sorry, I am clearly missing something here. Yes, you need to use unz() for a zip file, and it does not handle urls (only url does). So download the file (download.file()) first. I want to read this file directly: ftp://ftp.sanger.ac.u

[R] Reading zipped data directly from an FTP url

2008-10-09 Thread michael watson (IAH-C)
Hi Sorry, I am clearly missing something here. I want to read this file directly: ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5.txt.gallus_gallus. zip I tried using read.table(gzfile("ftp://ftp.sanger.ac.uk/pub/mirbase/targets/v5/arch.v5 .txt.gallus_gallus.zip")) But I got an error: