Re: [R] Problem with download.file ?

2015-03-27 Thread William Dunlap
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

[R] Problem with download.file ?

2015-03-27 Thread Giles Crane
# 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