guiDlgFunction {svDialogs}R Documentation

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

Author(s)

Philippe Grosjean (phgrosjean@sciviews.org)

See Also

guiDlgInput, guiDlgVarSel

Examples

#### TO DO...

[Package svDialogs version 0.9-42 Index]