View source: R/rk.set.rkh.prompter.R
rk.set.rkh.prompter | R Documentation |
By using an environment like this, you are able to write information for RKWard help files directly into your script code of certrain functions, like for radio buttons or checkboxes.
rk.set.rkh.prompter(component = NULL, id = NULL, help = NULL, rm = FALSE)
component |
Character string,
should be a unique name to identify the current plugin/component.
If |
id |
Either a character string (the |
help |
Character string or list of character values and XiMpLe nodes,
will be used as the |
rm |
Logical,
If |
The information is temporarily stored in an internal environment,
using the plugin/component name
you specify. Each entry is named after the ID of its respective node. If you later call
rk.plugin.component
(or it is called by other
functions) and you activate the scan
option for rkh files, the scanning process
will try to find a match for each relevant XML node. That is,
the info which is stored in the
environment will magically be written into the help file.
rk.set.rkh.prompter("rk.myPlugin", "someID", "CLick this to feel funny.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.