relibrary

0th

Percentile

Reloads a package

Reloads a package. This function works exactly the same as library, except that it is reloads the package if it already loaded. This is useful for developers. For more information see library.

Keywords
utilities
Usage
relibrary(package, character.only=FALSE, warn.conflicts=FALSE, ...)
Arguments
package
Name or character string giving the name of a package.
character.only
A logical indicating whether package can be assumed to be character strings.
warn.conflicts
If TRUE, warnings are printed about conflicts from reattaching of the package, unless that package contains an object .conflicts.OK.
...
Any other arguments that library() takes.
Details

While relibrary is reloading a package the option relibrary will be set to name of the package currently reloaded. This can be useful if the package to be reloaded would like save away data until it is loaded again.

See Also

See library().

Aliases
  • relibrary
Documentation reproduced from package R.utils, version 1.7.0, License: LGPL (>= 2.1)

Community examples

Looks like there are no examples yet.