packrat-mode | R Documentation |
Use these functions to switch packrat
mode on and off. When within
packrat
mode, the R session will use the private library generated
for the current project.
packrat_mode(
on = NULL,
project = NULL,
auto.snapshot = get_opts("auto.snapshot"),
clean.search.path = FALSE
)
on(
project = NULL,
auto.snapshot = get_opts("auto.snapshot"),
clean.search.path = TRUE,
print.banner = TRUE
)
off(project = NULL, print.banner = TRUE)
on |
Turn packrat mode on ( |
project |
The directory in which packrat mode is launched – this is where local libraries will be used and updated. |
auto.snapshot |
Perform automatic, asynchronous snapshots? |
clean.search.path |
Detach and unload any packages loaded from non-system libraries before entering packrat mode? |
print.banner |
Print the packrat banner when entering / exiting packrat mode? The packrat banner informs you of the new packrat mode state, as well as the library path in use. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.