Baoqiang Cao-2 wrote:
> 
> Dear All,
> 
> I'd like to know if there is anyway to download a certain structure file
> from http://www.pdb.org/. I tried the following but failed:
> 
> tmp <-
> download.file(url="ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb";,
> destfile="pdb100d.ent.gz")
> 
> trying URL 'ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb'
> Error in download.file(url =
> "ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb";,  : 
>         cannot open URL
> 'ftp://ftp.wwpdb.org/pub/pdb/data/structures/all/pdb'
> 
> Any tips to fix it please? Thanks in advance.
> 
> Best,
> Baoqiang
> 

  I don't know that this is possible within R.  I would try obtaining wget
and using
wget -r to fetch the files ...

-- 
View this message in context: 
http://www.nabble.com/how-to-download-pdb-structure-files--tf4707557.html#a13456168
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