library(svDialogstcltk) # Tcl/Tk dialog boxes are now used by default
if (FALSE) {
# Select one or several months
res <- dlg_list(month.name, multiple = TRUE)$res
if (!length(res)) {
cat("You cancelled the choice\n")
} else {
cat("You selected:\n")
print(res)
}
}
Run the code above in your browser using DataLab