determine.platform.NewLine {tryCatchLog}R Documentation

Determines the operating system specific new line character(s)

Description

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

Usage

determine.platform.NewLine()

Details

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

Value

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

Note

THIS IS A PACKAGE INTERNAL FUNCTION AND THEREFORE NOT EXPORTED.

References

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


[Package tryCatchLog version 1.3.1 Index]