Skip to content
Prev 63143 / 63424 Next

Including mode='wb' in download.file() for .xlsx files on Windows ?

Perhaps it would be simpler, and more future-proof, for R to always
download as binary.
Are there any modern consumers of text files that are bothered by '\r\n'?
Or even Macintosh '\r' line terminators?
On Sun, Aug 10, 2025 at 1:22?PM Hernando Cortina <hch at alum.mit.edu> wrote:

            

  
  
Message-ID: <CAN6Gc-20B82J4E-3_Esqy2A6cxC8HF-2gd6jfdQUjk99aAYf2g@mail.gmail.com>
In-Reply-To: <IA1PR12MB62094D1DED0ACC2B989EA12F8829A@IA1PR12MB6209.namprd12.prod.outlook.com>