Description Usage Arguments Details Note
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")
.
1 2 3 | register(name, expr)
deregister(name)
|
name |
character. The name of the shortcut to store. |
expr |
expression. The R expression to attach to this shortcut. |
register
stores the named expression in the registry so it will be
restored when the mappy package is re-attached in a new session.
deregister
removes the named expression from the registry
the registry will be auto-loaded into the global environment when the mappy package is attached.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.