pickItems {tkWidgets} | R Documentation |
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) }