PBSmodelling (version 2.68.8)

loadOptions: Save and Load Options to and from Disk

Description

Save and load options for use from one R session to another. If no file name is given, then the default file name (specified when the option object was created) is used.

Usage

loadOptions(option.object, fname, prompt = FALSE)
saveOptions(option.object, fname, prompt = FALSE)

Arguments

option.object

options class object used for storing package options

fname

file name to use: if missing the default file name is used; if given, file name becomes the default.

prompt

logical: if TRUE, prompt the user to select a file from an interactive GUI. If fname is given, then the value appears as the default selected file.

Details

If fname is given (or selected when prompt=TRUE), then that file becomes the default file name for subsequent loading and saving.

See Also

See PBSoptions-class for more details and an example using PBSmodelling's option management functions.