relibrary
From R.utils v1.4.2
by Henrik Bengtsson
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 whetherpackage
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
().
Community examples
Looks like there are no examples yet.