clear
- : clear ¶
- : clear
pattern …¶ - : clear
options pattern …¶ Delete variables, functions or classes from the current workspace.
Without arguments all local variables are deleted. Patterns may use the wildcards ‘*’, ‘?’ and ‘[…]’. The words
all,variables,functions,classes,globalandpersistentselect the kind of symbol to clear. Options (each also available in its long form) are:-all, -aClear all local and global variables, functions and classes.
-exclusive, -xClear all variables except those matching the patterns.
-functions, -fClear functions.
-global, -gClear global variables.
-variables, -vClear local variables.
-classes, -cClear classes.
-regexp, -rTreat the patterns as regular expressions.