Learn R Programming

SciViews (version 0.8-9)

guiDlgFunction: A dialog box prompting for function arguments

Description

Given a function, this dialog box prompts for values for its arguments

Usage

guiDlgFunction(fun, template = NULL, maxargs = 7, var = "res", width = 40,
    labelwidth = 10, displayit = TRUE, execfun = getOption("guiExecFun"))

Arguments

fun
The name of the function to prompt for
template
An optional template for the dialog box
maxargs
The maximum number of arguments to include in the dialog box
var
The default name of the variable where to assign result
width
The width of the dialog box
labelwidth
The width reserved for labels
displayit
Do we display it, or just construct it?
execfun
The function to use to execute resulting code

Value

  • A line of R code generated by the dialog box

See Also

guiDlgInput, guiDlgVarSel

Examples

Run this code
#### TO DO...

Run the code above in your browser using DataLab