objip {HH}R Documentation

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

pattern Character string containing a regular expression that is used to list only a subset of the objects. Only names matching 'pattern' are returned.
where an object defining a database in the search list.
frame In S-Plus, an integer giving the frame number. In R, frame is ignored.

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.

Author(s)

Richard M. Heiberger <rmh@temple.edu>

See Also

objects in R, objects in S-Plus.

Examples

objip("qq")
objip("^qq")
objip("qq$")

[Package HH version 2.1-25 Index]