Description Usage Value See Also Examples
It changes .libPaths()
removing all references to currently loaded
project internal environment.
1 |
Project unloaded or NULL if there was no project to unload.
Other in project management: prj_build
,
prj_clean_deps
, prj_init
,
prj_install_deps
, prj_load
,
prj_lock_env
, prj_pack
,
prj_start_package
, prj_start
,
prj_zip
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # create exemplary project base folder
prj_base <- tempfile("example_")
dir.create(prj_base, recursive = TRUE, showWarnings = FALSE)
# start project
prj <- prj_start("my_project", skip_rc = TRUE, path = prj_base)
cat(.libPaths(), sep = "\n") # show inital contents of .libPaths()
prj_load(prj = prj) # load project
cat(.libPaths(), sep = "\n") # show contents of .libPaths()
prj_unload() # restore environment
cat(.libPaths(), sep = "\n") # show final contents of .libPaths()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.