Description Usage Arguments Value Examples
return the number of lines found in a file. Operation is counting the number of new line symbols in the file.
1 | peek_count_lines(path, with_eof = FALSE)
|
path |
file path |
with_eof |
count the end of file as a new line. |
number of lines as an integer
1 2 3 | f <- system.file(package = "fpeek",
"datafiles", "cigfou-ISO-8859-1.txt")
peek_count_lines(f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.