relibrary {R.utils} | R Documentation |
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
.
relibrary(package, character.only=FALSE, warn.conflicts=FALSE, ...)
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. |
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.
Henrik Bengtsson (http://www.braju.com/R/)
See library
().