Description Usage Arguments Details Author(s) See Also
This function is designed to keep a given list of variables (as opposed to the rm function, which is designed to remove a list of variables)
1 |
... |
Variables that should stay in the environment |
x |
A character vector of variables which you wish to keep |
The function uses the ls
command to find the variables that are defined in the parent environment. It then deletes all variables that are not given as an argument.
Michael Floren
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.