Learn R Programming

tryCatchLog (version 1.3.1)

determine.platform.NewLine: Determines the operating system specific new line character(s)

Description

CR + LF on Windows, else only LF...

Usage

determine.platform.NewLine()

Arguments

Value

the new line character(s) for the current operating system

Details

This function is pendant to Microsoft's .Net "Environment.NewLine".

References

https://stackoverflow.com/questions/47478498/build-string-with-os-specific-newline-characters-crlf-lf-cr-to-write-it-into