[R] ftp fetch using RCurl?
CHD850
chd850 at gmail.com
Fri Feb 27 15:39:46 CET 2009
I am using RCurl, version 0.9-4, under windows. I can not find the function
getURLContent(). Is it being renamed ? or is it in a different version?
Also, in the reference manual on CRAN R under package RCurl, I found a
function getBinaryURL() documented but can not be found in the package as
well.
>
> I would use something like
>
> content = getURLContent("ftp://...../foo.zip")
>
> attributes(content) = NULL
>
> writeBin(content, "/tmp/foo.zip")
>
> and that should be sufficient.
>
> (You have to strip the attributes or writeBin() complains.)
>
> ______________________________________________
> R-help at 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.
>
>
--
View this message in context: http://www.nabble.com/ftp-fetch-using-RCurl--tp22228067p22247131.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list