clear_env | R Documentation |
Function to clear all elements within environment
clear_env(env, ...)
env |
environment to clean, can be an R environment, or a
|
... |
ignored |
env = new.env()
env$a = 1
print(as.list(env))
clear_env(env)
print(as.list(env))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.