[R] download.file not working
gustaf.rydevik at gmail.com
Thu Oct 11 09:52:26 CEST 2007
> So, if you download the same file using a web browser it works, ehe?
> Then look at the file size and you'll most likely find that it is
> different from when you use R code. Conclusion? Something is
> different and it works in the web browser so you might tell R to do
> something different from what you would expect. Hint, look at the set
> of arguments download.file() takes.
> That's my $0.02
After using the argument mode="wb", the downloaded file is OK.
Thank you very much for your comments, Henrik.
I've got no real idea of what the "mode="wb"" argument means, so if
someone could give an explanation, or a reference, I'd be most
Gustaf Rydevik, M.Sci.
tel: +46(0)703 051 451
address:Essingetorget 40,112 66 Stockholm, SE
More information about the R-help