register: Store mappy shortcut in the registry.

Description Usage Arguments Details Note

View source: R/registry.R

Description

The registry is a file that the mappy package maintains so that shortcuts can persist across sessions. By default, it resides in ~/.R/mappy, but you can change this by setting options(mappy.file = "/your/file").

Usage

1
2
3

Arguments

name

character. The name of the shortcut to store.

expr

expression. The R expression to attach to this shortcut.

Details

Note

the registry will be auto-loaded into the global environment when the mappy package is attached.


robertzk/mappy documentation built on May 27, 2019, 10:34 a.m.