clear | R Documentation |
Functions to clear or erase items.
clg(x)
clm()
clc()
x |
Graphic handle(s) |
clg
Clear graphics windows.
clm
Clear all variables from memory.
clc
Clear the R console.
# Clear graphics:
clg()
clg(grDevices::dev.list())
# Clear variables:
clm()
# Clear R console:
clc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.