gui.yesno {utilitiesR} | R Documentation |
This is a cross-platform function to allow the user to answer a yes/no question interactively
gui.yesno(message, graphics = TRUE)
message |
message asked to the user |
graphics |
whether to present a graphics interface (if possible) |
If graphics=TRUE
, winDialog
is used on
Windows, and tk_messageBox
otherwise (& if
supported), and an interactive text interface if all else
fails.
a BOOLEAN, whether they selected 'YES' (TRUE) or 'NO' (FALSE)
Other ui: dir.browse
,
file.browse
, Filters
,
gui.dir.choose
,
gui.file.choose
, gui.menu
,
gui.readline
,
tk_entry.dialog
,
tk_select.list