Learn R Programming

jwutil (version 1.2.3)

lsp: List all items in a package

Description

By default includes names beginning with '.'

Usage

lsp(package, all.names = TRUE, pattern)

Arguments

package

character scalar: name of the package

all.names

= TRUE, set to FALSE to ignore items beginning with a period

pattern

= optional pattern to match

Value

character vector of package contents

Examples

Run this code
# NOT RUN {
lsp("jwutil")
tail(lsp("base"), 30L)
# }

Run the code above in your browser using DataLab