This function removes all the elements of the working environment, with the exception of those included in the argument of the function. Hidden elements can also be removed by setting all = TRUE.

eco.clear(..., all = FALSE)

Arguments

...

Objects to retain.

all

Remove also hidden elements? Default FALSE.

Examples

# NOT RUN { data(eco.test) ls() eco.clear(eco) ls() # }