showQuestion: Show Question Dialog Box

View source: R/dialogs.R

showQuestionR Documentation

Show Question Dialog Box

Description

Shows a dialog box asking a question.

Usage

showQuestion(title, message, ok = NULL, cancel = NULL, timeout = 60)

Arguments

title

The title to display in the dialog box.

message

A character vector with the contents to display in the main dialog area.

ok

And optional character vector that overrides the caption for the OK button.

cancel

An optional character vector that overrides the caption for the Cancel button.

timeout

A timeout (in seconds). When set, if the user takes longer than this timeout to provide a response, the request will be aborted.

Note

The showQuestion function was added in version 1.1.67 of RStudio.


rstudioapi documentation built on Oct. 23, 2024, 1:07 a.m.