R.utils (version 1.6.5)

saveAnywhere.Settings: Saves settings to file

Description

Saves settings to file. If the settings was read from file, they are by default written back to the same file. If this was not the case, it defaults to the settings file in the home directory of the current user.

Usage

## S3 method for class 'Settings':
saveAnywhere(this, file=NULL, path="~", ...)

Arguments

file
A character string or a connection where to write too. If NULL, the file fr
path
The default path, if no settings files are specified. This defaults to the current user's home directory.
...
Arguments passed to save() in superclass Object.

Value

  • Returns (invisibly) the pathname to the save settings file.

See Also

*loadAnywhere(). For more information see Settings.