Message-ID: <CAP01uRn84WCir33tR_6oPAOWBRcBb-6bTdMK-KLa_mmwRWRDpQ@mail.gmail.com>
Date: 2011-12-05T12:24:47Z
From: Gabor Grothendieck
Subject: how to just download file on disk by the link
In-Reply-To: <CAD+bFKG5t3LZvnyDDGwAfWoCA_=3CGNiSWCDm+DbUKQ6PVDCDw@mail.gmail.com>
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.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com