Add the argument mode="wb" to your call to download.file(). On Windows
this means to use 'binary' format - do not change line endings.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Fri, Mar 27, 2015 at 7:25 AM, Giles Crane wrote:
>
> # download.file() Seems to put the xlsx file onto hard dri
# download.file() Seems to put the xlsx file onto hard drive.
>download.file("http://www.udel.edu/johnmack/data_library/zipcode_centroids.xlsx";,
> "zipcode_centroids.xlsx")
trying URL 'http://www.udel.edu/johnmack/data_library/zipcode_centroids.xlsx'
Content type
'application/vnd.openxmlformats
2 matches
Mail list logo