HH (version 2.2-17)

objip: loop through all attached directories looking for pattern

Description

Loop objects() through all attached directories (items in the search() list) looking for a regular expression pattern.

Usage

objip(pattern, where = search(), frame=NULL)

Arguments

Value

A list of 0 or more character vectors. Each character vector has the name of one of the items in the search() list. Each character vector contains the names of the objects in the specified environment which match the pattern. If there are no matching names in an environment, then the corresponding character vector is removed from the result.

See Also

#ifndef S-Plus ls, #endif #ifdef S-Plus objects. #endif

Examples

Run this code
objip("qq")
objip("^qq")
objip("qq$")

Run the code above in your browser using DataCamp Workspace