| line.endings {TAF} | R Documentation |
Line Endings
Description
Examine whether file has Dos or Unix line endings.
Usage
line.endings(file)
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
## Not run:
file <- system.file(package="TAF", "DESCRIPTION")
line.endings(file)
## End(Not run)
[Package TAF version 4.2.0 Index]