pickItems {tkWidgets} | R Documentation |
Function that builds a widget to allow users to select items from available sources
Description
Given a vector of characters, this function creates a widget containing list box to allow users to visually select elements from the vector.
Usage
pickItems(items, title1 = "Items to pick", title2 = "Picked items")
Arguments
items |
|
title1 |
|
title2 |
|
Details
This function is to provide visual support to other functions and thus may not have much use otherwise.
Value
This function returns a vector of select items.
Author(s)
Jianhua Zhang
References
R tcltk
See Also
Examples
options <- paste("Option", 1:10, sep = "")
if(interactive()){
pickItems(options)
}
[Package tkWidgets version 1.74.0 Index]