A slightly more elaborate version of rm(list = ls()) to clear your workspace.

clc(all = FALSE)

Arguments

all

Logical. Should hidden objects also be removed? Defaults to FALSE.

Value

Nothing

References

http://stackoverflow.com/a/20389913/1270695

Author

Ananda Mahto

Examples

if (FALSE) { clc() # Will not affect hidden files clc(TRUE) # Will affect hidden files }