# NOT RUN {
#-- Example 1
local(envir=.PBSmodEnv,expr={
getChoice(c("Fame","Fortune","Health","Beauty","Lunch"),
"What do you want?",qcolor="red",gui=FALSE)
})
#-- Example 2
local(envir=.PBSmodEnv,expr={
getChoice(c("Homer Simpson","Wilberforce Humphries","Miss Marple","Gary Numan"),
"Who`s your idol?",horiz=FALSE,radio=TRUE,gui=FALSE)
})
# }
Run the code above in your browser using DataLab