rmAll: Remove all objects

Description Usage Arguments Details Value See Also

View source: R/rmAll.R

Description

Removes all objects from the workspace

Usage

1
rmAll(ask = TRUE)

Arguments

ask

Logical value indicating whether to ask user to confirm deletions. Default is TRUE

Details

The rmAll function provides a simple way of deleting all objects from the workspace. It is almost equivalent to the usual rm(list = objects()) command. The only difference that it requires the user to confirm the deletions first if ask = TRUE, after displaying a list of the current objects in the worspace. This can occasionally be useful for teaching purposes.

Value

Invisibly returns 0 if no deletions are made, 1 if at least one deletion is made.

See Also

rm


lsr documentation built on Dec. 11, 2021, 9:10 a.m.

Related to rmAll in lsr...