moveInSearchPath {R.utils} | R Documentation |
Moves a environment in the search path to another position
Description
Moves a environment in the search path to another position.
Usage
## Default S3 method:
moveInSearchPath(from, to, where=c("before", "after"), ...)
Arguments
from |
An |
to |
The destination position like the |
where |
A |
... |
Not used. |
Details
It is not possible to move the first environment in the search path, i.e. the so called global environment.
Value
Returns (invisibly) the name of the environment moved, if it was
moved, otherwise NULL
.
Author(s)
Henrik Bengtsson
See Also
search
().
Examples
# Make package 'utils' come behind 'datasets' in the search path
moveInSearchPath("package:utils", "package:datasets", where="after")
[Package R.utils version 2.13.0 Index]