promptAndSave.Settings

0th

Percentile

Prompt user to save modified settings

Prompt user to save modified settings.

Usage
## S3 method for class 'Settings}(this, saveOption="saveSettings", settingsName=NULL, ...)':
promptAndSaveundefined

 saveOption{A character string of the option used to set
      if user is prompted or not.}
   ...{Arguments passed to write()
      in superclass Options.}

 Returns TRUE if settings were successfully written to file,
   otherwise FALSE is returned. An exception may also be thrown.

 
If settings has been modified since loaded, the user is by default prompted to save the settings (if Rruns interactively). To save or not save without asking or when Rruns non-interactively, set option "saveSettings" to "yes" or "no", respectively. For prompting the user, use "prompt".
[object Object] *isModified(). interactive(). For more information see Settings. internal methods programming
Aliases
  • promptAndSave.Settings
  • Settings.promptAndSave
  • promptAndSave.Settings
  • promptAndSave,Settings-method
Documentation reproduced from package R.utils, version 0.5.5, License: LGPL version 2.1 or newer (the releases)

Community examples

Looks like there are no examples yet.