Gabor Csardi wrote:
> 
> On Sun, Oct 28, 2007 at 11:25:06AM -0700, Ben Bolker wrote:
>> 
>> 
> If you don't know then you might try to read the documentation. Then it
> takes
> about five seconds to get the right syntax:
> 
> download.file("ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb/pdb100d.ent.gz";,
> destfile="pdb100d.ent.gz")
> 
> Hint: you can use gzfile to decompress the file on th fly, while reading 
> it into R.
> 
> Gabor
> 
> 

  Oops, I wasn't reading the question carefully enough.  I was assuming that
the questioner wanted to download all of the files from that ftp directory
...

  cheers
    Ben Bolker
-- 
View this message in context: 
http://www.nabble.com/how-to-download-pdb-structure-files--tf4707557.html#a13456897
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to