library_list: Generate Regular Expression .rda

Description Usage Arguments Value See Also Examples

Description

Generate a .rda regular expression lists.

Usage

1
library_list(path, out = NULL, name = NULL, ...)

Arguments

path

The path to the regular expression library package.

out

The file path to output the .rda file (see save for details on saving).

name

The name to assign the list to and to use for the .rda file. If NULL the package name is used.

...

Other arguments passed to internal functions.

Value

Generates a minimal .rda regular expression library. To load the .rda file use load.

See Also

save, base

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library_list(system.file("sample", package = "regextools"),
     document = FALSE, install = FALSE)

sample             ## sample is a base R function
load("sample.rda")
sample             ## sample is now overwritten with the sample regex list
rm(sample)         ## remove the list (restore default sample)

## End(Not run)

trinker/regextools documentation built on May 31, 2019, 9:51 p.m.