I\'m trying to download an Excel workbook using R\'s download.file function.
When I download the file manually (using Internet Explorer or Chrome, right click & save
You can try to download your file in binary mode (default for download.file is ASCII mode) with the mode argument. Something like :
download.file
mode
download.file(myurl, mydestfile, mode="wb")