Description Usage Arguments Examples
This function removes all objects from the global environment (default) or from a specified environment. Returns the result of the garbage collection, if triggered, invisibly.
1  | clear(env = ".GlobalEnv", garbageCollection = T)
 | 
env | 
 The environment from which all objects are to be removed  | 
garbageCollection | 
 If TRUE, garbage collection via gc() is performed after clearing the environment  | 
1  | clear()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.