rmabd
: The rmabd() function removes 'all but deeze' objectsrmabd(list_keep = NULL, envir = globalenv())
Argument |Description
------------- |----------------
list_keep
| an optional list of names for objects to keep from '?rm()'. The default 'list_keep=NULL' will remove all objects.
envir
| an optional environment. Defaults to '?globalenv()'.
nothing but a message will be printed for the kept objects
r
x1 = 1
x2 = 2
x3 = 3
ls()
rmabd(list_keep=list('x1','x2'));ls()
rmabd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.