gui.yesno {utilitiesR}R Documentation

cross-platform yes/no interface

Description

This is a cross-platform function to allow the user to answer a yes/no question interactively

Usage

  gui.yesno(message, graphics = TRUE)

Arguments

message

message asked to the user

graphics

whether to present a graphics interface (if possible)

Details

If graphics=TRUE, winDialog is used on Windows, and tk_messageBox otherwise (& if supported), and an interactive text interface if all else fails.

Value

a BOOLEAN, whether they selected 'YES' (TRUE) or 'NO' (FALSE)

See Also

Other ui: dir.browse, file.browse, Filters, gui.dir.choose, gui.file.choose, gui.menu, gui.readline, tk_entry.dialog, tk_select.list


[Package utilitiesR version 1.8.2 Index]