Skip to content
Prev 168896 / 398506 Next

Selectively Removing objects

On 02/02/2009 8:16 AM, Paulo Grahl wrote:
Here's a list of functions:  lsf.str()
And here's a list of everything:  ls()
So here are non-functions:  setdiff(ls(), lsf.str())
And here they go:  rm(list = setdiff(ls(), lsf.str()) )

Duncan Murdoch