env.idx: Function to index every object in an environment or namespace

Description Usage Arguments Details Author(s) Examples

View source: R/utils.R

Description

env.idx

Usage

1
env.idx(filter_class = NULL, env = "global", pattern = NULL)

Arguments

filter_class

string or character vector, Pass the class of objects to be returned, if NULL, the default, return all.

env

string This variable interprets the input as a package name, or the default, global, the working invironment. This is the environment from which we want the objects from.

pattern

A regular expression or string to find in the environment.

@return A data frame with 77 observations on the following 2 variables.

obj_name

a character vector This is the name of the object within the active, or called namespace.

obj_type

a character vector The class of the object. Such as character, data.frame, environment etc.

Details

This function is helpful when space becomes cluttered, or even for finding and calling alternate variables or functions from within a space

Author(s)

Carl S.A. Boneri, carl@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
============  ========
obj_name      obj_type
============  ========
.             function
aaply         function
adply         function
alply         function
amv_dimnames  function
a_ply         function
============  ========

CarlBoneri/roxydoc2 documentation built on Nov. 6, 2019, 8:01 a.m.