switchrDontUnload: Get or set packages to not unload when flushing the system

Description

Get or set packages which should NOT be unloaded when flushing the system, e.g., when switching between libraries.

Usage

1
switchrDontUnload(value, add = TRUE)

Arguments

value

The packages to not unload when switching libraries.

add

Should value be added to the existing list?

Note

By default switchr will not attempt to unload any base packages, itself, or any of its dependencies. Attempting to unload any of these packages (e.g. add=FALSE) will result in undefined behavior and is not recommended.


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

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