Description Usage Arguments Value Examples
Removes all objects in the global environment including hidden objects, and afterwards runs the garbage collector to free up memory.
1 | clearEnv(envir = .GlobalEnv, hidden = TRUE)
|
envir |
(optional) The environment to clear. default: |
hidden |
(optional) Include hidden objects (those starting with a dot "."). default: |
Prints the removed objects, their classes, and the output from garbage collector.
1 2 | assign("test", "test", envir = .GlobalEnv)
clearEnv()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.