promptAndSave.Settings | R Documentation |
Prompt user to save modified settings.
## S3 method for class 'Settings'
promptAndSave(this, saveOption="saveSettings", settingsName=NULL, ...)
saveOption |
A |
... |
Arguments passed to |
If settings has been modified since loaded, the user is by default
prompted to save the settings (if R runs interactively).
To save or not save without asking or when R runs non-interactively,
set option "saveSettings"
to "yes" or "no", respectively.
For prompting the user, use "prompt".
Returns TRUE
if settings were successfully written to file,
otherwise FALSE
is returned. An exception may also be thrown.
Henrik Bengtsson
*isModified()
.
interactive
().
For more information see Settings
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.