powered by
Examine whether file has Dos or Unix line endings.
line.endings(file)
a filename.
String indicating the line endings: "Dos" or "Unix".
"Dos"
"Unix"
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
# NOT RUN { file <- system.file(package="icesTAF", "DESCRIPTION") line.endings(file) # } # NOT RUN { # }
Run the code above in your browser using DataLab