Description Usage Arguments Examples
print the last n
lines
of a file.
1 |
path |
file path |
n |
number of lines to print |
intern |
a logical which indicates whether to capture the output as an R character vector or to print the output in the R console. |
1 2 3 4 | f <- system.file(package = "fpeek",
"datafiles", "cigfou-ISO-8859-1.txt")
peek_tail(f, n = 4)
peek_tail(f, n = 4, intern = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.