Function to retrieve contents of environments
The contents method is used to retrieve the values stored in an environment.
- The environment (data table) that you want to get all contents from
- a logical indicating whether to copy all values in
A named list is returned, where the elements are the objects stored in
the environment. The names of the elements are the names of the
all.namesargument is identical to the one used in
z <- new.env() multiassign(letters, 1:26, envir=z) contents(z)
Looks like there are no examples yet.