Learn R Programming

pracma (version 1.2.5)

clear: Clear function (Matlab style)

Description

Remove items from workspace.

Usage

clear(lst)

Arguments

lst
Character vector of names of variables in the global environment.

Value

  • Invisibly NULL.

Details

Remove these or all items from the workspace, i.e. the global environment, and freeing up system memory.

See Also

rm

Examples

Run this code
# clear()  # DONT

Run the code above in your browser using DataLab