Description Usage Arguments Details Author(s) See Also Examples
Rewrite a file and substitute LF for CRLF.
1 | convert_crlf(infile)
|
infile |
File to be converted |
LF is Unix. Note that writeChar, writeLines, and other options don't work (as far as I can tell). Using cat on a wb file connection is the key.
Gene Leynes
1 2 3 | ## NOT RUN:
# files <- list.files(".", recursive = T, full.names = T)
# sapply(files, convert_crlf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.