Functions to list out all environments and objects
environments()ls_all(all.names = FALSE)
objects_all(all.names = FALSE)
environments(): Invisibly, a character vector of environment names
ls_all(), objects_all(): A named list for each of the environments
the search() path with all the objects found in that environment
a logical value. If TRUE, all
object names are returned. If FALSE, names which begin with a
. are omitted.
environments() is basically a printing wrapper for base::search()
ls_all() and objects_all() can be used retrieved all objects from all
environments in the search() path, which may print out a large result
into the console.