Description Usage Arguments Details Value Author(s) References Examples
Given a argument list, the functions construct a widget to allow users to entry or select values for arguments defined by the names of the argument list.
1 2 3 4 5 6 | argsWidget(argsList, defaultNames, inst = "")
getPWidget(argsList, PWEnv, inst = "")
formatArg(toFormat)
getSymbol(args)
funcs2Char(args,funcs)
getTrueNullNa(toFormat)
|
argsList |
|
PWEnv |
|
toFormat |
|
args |
|
funcs |
|
defaultNames |
|
inst |
|
argsWidget builds a widget with widget elements to allow
users to input values for the arguments.
getPWidget instatiates primary widgets that will be used
to construct the widget for argements.
formatArg formats the value for a given argument so that
the calue can be displayed by a tcltk widget.
getSymbol filters out functions from the argument list.
funcs2Char converts functions to character
representations of the functions.
getTrueNullNa converts string "true", "false", "null",
and "na" to R primitives for these items.
argsWidget returns a list with user input values for
elements of the argument list passed.
getPWidget returns a list of primary widgets.
formatArg returns a list containing the formated values.
getSymbol returns a list containing arguments that are
functions.
funcs2Char returns a list containing character
representations of functions.
getTrueNullNa returns an R object.
Jianhua Zhang
R tcltk
1 2 3 4 | if(interactive()){
argsWidget(list("Entry with default" = "default",
"Entry without default" = ""))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.