moveInSearchPath

0th

Percentile

Moves a environment in the search path to another position

Moves a environment in the search path to another position.

Usage
## S3 method for class 'default}(from, to, where=c("before", "after"), ...)':
moveInSearchPathundefined

 from{An integer specifying the position of the environment
     to be moved, or a character specifying the name of the environment
     to be moved.}
   to{The destination position like the from argument.}
   where{A character string specify where in relation to the
     destination position the enviroment should be moved.}
   ...{Not used.}

 Returns (invisibly) the name of the environment moved, if it was
   moved, otherwise NULL.

 
It is not possible to move the first environment in the search path, i.e. the so called global environment.
# Make package 'utils' come behind 'datasets' in the search path moveInSearchPath("package:utils", "package:datasets", where="after") [object Object] search(). programming internal
Aliases
  • moveInSearchPath.default
  • moveInSearchPath
Documentation reproduced from package R.utils, version 1.1.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.