pkgrep: find matching package names using grep

Description Usage Arguments Value Author(s) Examples

Description

There's some R packages that I just can't for the life of me remember the correct caPitAlisaTion. This function searches the list of currently installed packages for ones matching your pattern, and returns the names of matching packages. 'pkgrep' is short for 'package grep'

Usage

1

Arguments

pattern

a search pattern

...

arguments passed to grep

Value

a character vector of matching packages

Author(s)

Mark Cowley, 2012-03-27

Examples

1
2
3
pkgrep("lumi")
# [1] "illuminaHumanv4.db" "lumi"               "lumidat"           
# [4] "methylumi"

drmjc/mjcbase documentation built on May 15, 2019, 2:27 p.m.