set_confirm | R Documentation |
This function sets the confirmation prompt for the rm_bytag
function
when deleting objects with a specified tag.
set_confirm(confirm = NULL)
confirm |
A logical value indimessageing whether to prompt for confirmation before deleting objects. If |
If confirm
is NULL
, the current setting for the confirmation prompt is returned. Otherwise, the confirmation prompt setting is updated.
# turn on confirmation prompt
set_confirm(TRUE)
# turn off confirmation prompt
set_confirm(FALSE)
# get current confirmation prompt setting
set_confirm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.