flushSession: flushSession

Description Usage Arguments Details Value Note

Description

Unload currently loaded packages from the current R session

Usage

1

Arguments

dontunload

Non-base packages to ignore (not detatch/unload)

Details

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).

Value

NULL, called for its side-effect of unloading packages

Note

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.



Search within the switchr package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.