list_environments: List all environments and objects

list_environmentsR Documentation

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)

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.

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


mark documentation built on May 29, 2024, 5:13 a.m.