| clear | R Documentation | 
Clears specified environment and console
clear(env = globalenv())
env | 
 An environment  | 
This does not remove loaded package. Restart your R session before getting the final output.
Sven Halvorson
clear()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.