line.endings: Line Endings

Description Usage Arguments Value See Also Examples

View source: R/line.endings.R

Description

Examine whether file has Dos or Unix line endings.

Usage

1

Arguments

file

a filename.

Value

String indicating the line endings: "Dos" or "Unix".

See Also

file.encoding examines the encoding of a file.

dos2unix and unix2dos convert line endings.

TAF-package gives an overview of the package.

Examples

1
2
3
4
5
## Not run: 
file <- system.file(package="TAF", "DESCRIPTION")
line.endings(file)

## End(Not run)

TAF documentation built on April 7, 2021, 5:06 p.m.