platform.newline: Platform independent newline string

Description Usage Arguments Value Author(s) See Also

View source: R/utils.R

Description

A simple function to determine the appropriate newline string for a given operating system.

Usage

1

Arguments

os

Name of the operating system. Defaults to .Platform$OS.type

Value

For Windows, this should return '\r\n', whereas for other operating system it will return '\n'.

Author(s)

David M. Kaplan dmkaplan2000@gmail.com

See Also

See also file.type.


knitrdata documentation built on Dec. 8, 2020, 5:08 p.m.