Learn R Programming

SciViews (version 0.8-9)

guiDlgVarSel: A select variable dialog box

Description

Present a list of variables of a given class and allow to choose one or several

Usage

guiDlgVarSel(list, classes = NULL, title = "Select a variable", default = "",
    all.names = FALSE, multi = FALSE, new = FALSE, sort = TRUE, parent = 0,
    GUI = getOption("guiWidgets"))

Arguments

list
A list of variables
classes
Classes for the variables to search for
title
A title of the dialog box
default
The default selected item
all.names
Do we search for all names (including variables starting with '.')?
multi
Do we allow multiple selection?
new
Do we allow to create new variables?
sort
Do we sort the list?
parent
Which window is the parent of this dialog box?
GUI
Which GUI toolkit do we use?

Value

  • A list with selected variables names

See Also

guiDlgItemSel

Examples

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

Run the code above in your browser using DataLab