processFile | R Documentation |
Read file line by line and optionally remove whitespace and duplicate lines. WARNING: Be careful with large files!
processFile(f, trim = TRUE, rmdups = TRUE)
f |
Path to file. |
trim |
If TRUE, trim whitespace. |
rmdups |
If TRUE, only keep lines which are not identical to the previous line AND which are not whitespace. |
Character vector with each element corresponding to a line.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.