Learn R Programming

mark (version 0.8.2)

list_environments: List all environments and objects

Description

Functions to list out all environments and objects

Usage

environments()

ls_all(all.names = FALSE)

objects_all(all.names = FALSE)

Value

  • 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

Arguments

all.names

a logical value. If TRUE, all object names are returned. If FALSE, names which begin with a . are omitted.

Details

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.