Description Usage Arguments Author(s) See Also Examples
Gets the tail (last lines) of one or several objects or a file. Depending
on the argument cat
, the result is either printed to the standard output
(cat=TRUE
) or returned as a character string. Default is to print to
standard output. The number of lines printed is specified by the argument
lines
.
1 2 |
... |
Comma-separated |
file |
File to be displayed. |
lines |
Number of lines to be printed/returned |
cat |
If |
Either ...
or file
must be specified.
Henrik Bengtsson
1 2 3 | tail2(tail2.default)
tail2(file=system.file("DESCRIPTION", package="base"))
tail2(list.files())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.