sleuth: Generalized version of find

Description Usage Arguments Value See Also Examples

Description

Looks for objects that regex-match pattern, in all attached workspaces (as per search()) and any maintained packages (see maintain.packages).

Usage

1

Arguments

pattern

regex

...

other args to grep, e.g. perl=TRUE or ignore.case=TRUE

Value

A list of environments containing one or more matching objects, with the object names returned as a character vector within each list element.

See Also

search.for.regexpr

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
sleuth( '^rm')
# On my setup, that currently gives:
#$ROOT
#[1] "rmsrc"
#
#$`package:stats`
#[1] "rmultinom"
#
#$`package:base`
#[1] "rm"
#
#$mvbutils
#[1] "rm.pkg"
#
#$handy2
#[1] "rmultinom"
#

mvbutils documentation built on May 2, 2019, 8:32 a.m.

Related to sleuth in mvbutils...