[R] how to just download file on disk by the link
ggrothendieck at gmail.com
Mon Dec 5 13:24:47 CET 2011
On Mon, Dec 5, 2011 at 7:03 AM, Philipp Chapkovski <chapkovski at gmail.com> wrote:
> Sorry for stupid question but is there any way to just download file (excel
> file) from the url to the disk with a certain name?
> Now it seems that I should open it (via read.xls) and then write it by
> write.xls. But I am pretty sure it should be something much easier?
read.xls in the gdata package can take the url of an Excel file and
will read it into R. (It transparently downloads it into a temporary
file and then reads it from there.)
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
email: ggrothendieck at gmail.com
More information about the R-help