powered by
Examine whether file has Dos or Unix line endings.
line.endings(file)
String indicating the line endings: "Dos" or "Unix".
"Dos"
"Unix"
a filename.
file.encoding examines the encoding of a file.
file.encoding
dos2unix and unix2dos convert line endings.
dos2unix
unix2dos
icesTAF-package gives an overview of the package.
icesTAF-package
if (FALSE) { file <- system.file(package="icesTAF", "DESCRIPTION") line.endings(file) }
Run the code above in your browser using DataLab