R: Clear function (Matlab style)

clear, who(s), ver {pracma} | R Documentation

## Clear function (Matlab style)

### Description

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

### Usage

    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

    # clear()  # DON'T
    # who()
    # whos()
    # ver()

[Package pracma version 2.0.4 Index]