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 [[alternative HTML version deleted]]
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.
Apparently Analagous Threads
- "digits" doesn't work in format function
- lm on matrix data
- how to know if a file exists on a remote server?
- about spearman and kendal correlation coefficient calculation in "cor"
- in par(mfrow=c(1, 2)), how to keep one half plot static and the other half changing