Function that builds a widget to allow users to select items from available sources
Given a vector of characters, this function creates a widget containing list box to allow users to visually select elements from the vector.
pickItems(items, title1 = "Items to pick", title2 = "Picked items")
items |
|
title1 |
|
title2 |
|
This function is to provide visual support to other functions and thus may not have much use otherwise.
This function returns a vector of select items.
Jianhua Zhang
R tcltk
options <- paste("Option", 1:10, sep = "") if(interactive()){ pickItems(options) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.