rk.JS.doc | R Documentation |
You don't need to define a preview()
function,
as this can be added automatically by rkwarddev's code scanners.
rk.JS.doc( require = c(), variables = NULL, globals = NULL, results.header = NULL, header.add = list(), preprocess = NULL, calculate = NULL, printout = NULL, doPrintout = NULL, preview = FALSE, load.silencer = NULL, gen.info = TRUE, indent.by = rk.get.indent(), level = 2, guess.getter = FALSE )
require |
A character vector with names of R packages that the dialog depends on. |
variables |
Either a character string to be included to read in all needed variables from the dialog (see |
globals |
Like |
results.header |
A character string to headline the printed results. Include escapes quotes (\") if needed.
Set to |
header.add |
A named list of additional info to add to the header. Each entry must be named |
preprocess |
A character string to be included in the |
calculate |
A character string to be included in the |
printout |
A character string to be included in the |
doPrintout |
Deprecated: A character string to be included in the |
preview |
Either a logical value, if |
load.silencer |
Either a character string (ID of probably a checkbox),
or an object of class |
gen.info |
Logical, if |
indent.by |
A character string defining how indentation should be done. |
level |
Integer, which indentation level to use, minimum is 1. |
guess.getter |
Locigal,
if |
For previews,
use js(if("!is_preview") {...})
style JavaScript code to toggle between modes (applies to preprocess
, calculate
and
printout
).
A character string.
rk.paste.JS
,
rk.JS.vars
,
rk.JS.array
,
js
,
echo
,
id
,
rk.JS.header
,
and the Introduction to Writing Plugins for RKWard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.