Creates a temporary environment for analysis that isolates objects from the global environment. This helps prevent memory leaks and allows for easy cleanup after analysis.
Usage
analysis_env(parent_env = parent.frame(), cleanup = TRUE)Creates a temporary environment for analysis that isolates objects from the global environment. This helps prevent memory leaks and allows for easy cleanup after analysis.
analysis_env(parent_env = parent.frame(), cleanup = TRUE)