## This cannot be run by example() but should be OK when pasted
## into an interactive R session
pickFrom(c("apple", "banana", "plum", "grapefruit"), nsets = 2,
setlabels = c("Fruits I like", "Fruits I tolerate"))Run the code above in your browser using DataLab