win.eol: Gets the Windows end of line characters

View source: R/utils.R

win.eolR Documentation

Gets the Windows end of line characters

Description

Finds the end of line (eol) characters required for writing Windows files, such as CRHM obs files. No parameters are required. This is an internal CRHMr function and should never need to be called directly.

Usage

win.eol()

Value

Returns the Windows end of line characters (cr and lf).

Note

This function is used to make the creation of Windows-specific files work on all platforms. CRHM requires its obs and project files to use the Windows end of line characters, which are expressed differently on UNIX-based operating systems such as Linux and OSX.

Author(s)

Kevin Shook

See Also

automatePrj setPrjDates writeObsFile runCRHM

Examples

windowsEndOfLine <- win.eol()


CentreForHydrology/CRHMr documentation built on April 6, 2024, 5:27 p.m.