Entering edit mode
li lilingdu
▴
450
@li-lilingdu-1884
Last seen 6.6 years ago
Dear list,
How to use functions in RCurl to download a zipped file such as the
one
listed in the following URL:
http://bioconductor.org/packages/2.3/bioc/bin/windows/contrib/2.8/ABar
ray_1.10.0.zip
Following code does not work:
getURL("
http://bioconductor.org/packages/2.3/bioc/bin/windows/contrib/2.8/ABar
ray_1.10.0.zip
")
nor :
getURL("
http://bioconductor.org/packages/2.3/bioc/bin/windows/contrib/2.8/ABar
ray_1.10.0.zip
",file="target.zip")
P.S.
How should the 'file' option in getURL function be specified?
Many thanks!
---
LiGang
[[alternative HTML version deleted]]