Read a text file and concatenate the lines by '\n'
The source code of this function should be self-explanatory.
file_string(file)
file |
Path to a text file (should be encoded in UTF-8). |
A character string of text lines concatenated by '\n'
.
xfun::file_string(system.file("DESCRIPTION", package = "xfun"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.