clear: Clear function (Matlab style)

Description Usage Arguments Details Value See Also Examples

View source: R/clear.R

Description

List or remove items from workspace, or display system information.

Usage

1
2
3
4
5
clear(lst)
ver()

who()
whos()

Arguments

lst

Character vector of names of variables in the global environment.

Details

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

who() lists all items on the workspace.
whos() lists all items and their class and size.

ver() displays version and license information for R and all the loaded packages.

Value

Invisibly NULL.

See Also

ls, rm, sessionInfo

Examples

1
2
3
4
# clear()  # DON'T
# who()
# whos()
# ver()

Example output



pracma documentation built on Dec. 11, 2021, 9:57 a.m.