head | R Documentation |
Head and tail operations on manifests
head(x, ...)
## S4 method for signature 'SessionManifest'
head(x, n = 5, ...)
## S4 method for signature 'PkgManifest'
head(x, n = 5, ...)
tail(x, ...)
## S4 method for signature 'SessionManifest'
tail(x, n = 5, ...)
## S4 method for signature 'PkgManifest'
tail(x, n = 5, ...)
x |
A manifest object |
... |
unused |
n |
The number of packages to keep |
In the case of a PkgManifest
, the first or last n
packages are retained in the manifest, while all others are removed.
In the case of a SessionManifest
, n
specified versions
are retained, while the underlying PkgManifest
is unchanged.
An object of the same type as x
containing n
packages
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.