Logical value indicating whether to ask user to confirm deletions. Default is TRUE
Value
Invisibly returns 0 if no deletions are made, 1 if at least one deletion is made.
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. I find it personally convenient primarily because it involves fewer keystrokes, but more generally I find it useful for teaching purposes, since I usually want to show people how to clear the workspace before I have discussed named arguments to functions.