
Last chance! 50% off unlimited learning
Sale ends in
Shows a dialog box with a given title and contents.
showDialog(title, message, url = "", timeout = 60)
The title to display in the dialog box.
A character vector with the contents to display in the main dialog area. Contents can contain the following HTML tags: "p", "em", "strong", "b" and "i".
An optional URL to display under the message
.
A timeout (in seconds). When set, if the user takes longer than this timeout to provide a response, the request will be aborted.
if (rstudioapi::isAvailable()) {
rstudioapi::showDialog("Example Dialog", "This is an example dialog.")
}
Run the code above in your browser using DataLab