dos2unix | R Documentation |
Convert line endings in a text file between Dos (CRLF) and Unix (LF) format.
dos2unix(file)
unix2dos(file)
file |
a filename. |
No return value, called for side effects.
line.endings
examines line endings.
write.taf
uses unix2dos
to ensure that the resulting
files have Dos line endings.
TAF-package
gives an overview of the package.
## Not run:
file <- "test.txt"
write("123", file)
dos2unix(file)
file.size(file)
unix2dos(file)
file.size(file)
file.remove(file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.