packrat-external {packrat} | R Documentation |
These functions provide a mechanism for (temporarily) using packages outside of the packrat private library.
with_extlib(packages, expr, envir = parent.frame()) extlib(packages) user_lib() packrat_lib()
packages |
A set of package names (as a character vector) to load for
the duration of evaluation of |
expr |
An R expression. |
envir |
An environment in which the expression is evaluated. |
## Not run: with_extlib("lattice", xyplot(1 ~ 1)) ## End(Not run)