Description Usage Arguments Details Value Author(s)
Cleans the current workspace
1 2 3 4 5 6 7 | sanitize(keep_global = keep$global, keep_search = keep$search,
keep_packages = keep$packages, keep_namespaces = keep$namespaces,
hidden = FALSE, verbose = FALSE)
cleanWorkspace(keep_global = keep$global, keep_search = keep$search,
keep_packages = keep$packages, keep_namespaces = keep$namespaces,
hidden = FALSE, verbose = FALSE)
|
keep_global |
Which global variables to keep |
keep_search |
Which environments to keep on the search path |
keep_packages |
Which loaded packages to keep |
keep_namespaces |
Which loaded namespaces to keep |
hidden |
Should also hidden variables starting with a dot be removed? |
verbose |
More comments on what is deleted, detached and unloaded |
Removes all elements in the global environment and detaches all attached packages that are not base packages. One can specify certain packages that should be kept.
TRUE if everything succeeded, FALSE otherwise
Holger Hoefling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.