Learn R Programming

R.utils (version 2.9.0)

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 Settings
saveAnywhere(this, file=NULL, path="~", ...)

Arguments

file

A character string or a connection where to write too. If NULL, the file from which the settings were read is used. If this was not the case, argument path is used.

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.