Skip to content
Prev 58825 / 63424 Next

Guidelines when to use LF vs CRLF ("\n" vs. "\r\n") on Windows for new lines (line endings)?

On 25/07/2020 4:48 p.m., nospam at altfeld-im.de wrote:
Most Windows run-times (including the version of MSVCRT that R uses) 
convert \n to \r\n on text files, so you rarely need an explicit \r\n. 
That's the difference between type text and type binary on connections.

Duncan Murdoch