Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.


PBSmodelling

GUI Tools Made Easy: Interact with Models and Explore Data

v2.68.8
GPL (>= 2)
Authors
Jon T. Schnute [aut], Alex Couture-Beil [aut], Rowan Haigh [aut, cre], Nicholas Boers [ctb], Anisa Egeli [ctb], A. R. Kronlund [ctb], Steve Martell [ctb], Norm Olsen [ctb]
Initial release
2019-03-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.