flushSession | R Documentation |
Unload currently loaded packages from the current R session
flushSession(dontunload = switchrDontUnload())
dontunload |
Non-base packages to ignore (not detatch/unload) |
Attached packages are detached (and unloaded) first. After this is done, loaded packages, such as those imported by (previously) attached packages, are unloaded.
Finally, after all packages have been unloaded, native libraries loaded by those packages are unloaded (on systems where this is supported).
NULL, called for its side-effect of unloading packages
Failing to include switchr, any of its dependencies, or any base
packages (available as a vector in the switchDeps
object)
in dontunload
will result in undefined, likely erroneous behavior.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.