Description Usage Arguments Value Author(s) Examples
Read a file and convert it to a vector of strings, in complexity O(2n)
1 | file_to_lines(filename)
|
filename |
the name of a file |
the text of the filename as a vector
Richel Bilderbeek
1 2 3 | text <- wiritttea::file_to_lines(
filename = wiritttea::find_path("add_alignments_ok.log"))
testit::assert(length(text) == 50)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.