showPrompt | R Documentation |
Shows a dialog box with a prompt field.
showPrompt(title, message, default = NULL, timeout = 60)
title |
The title to display in the dialog box. |
message |
A character vector with the contents to display in the main dialog area. |
default |
An optional character vector that fills the prompt field with a default value. |
timeout |
A timeout (in seconds). When set, if the user takes longer than this timeout to provide a response, the request will be aborted. |
The showPrompt
function was added in version 1.1.67 of RStudio.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.