Software Option Settings Manager for R

Provides option settings management that goes beyond R's default 'options' function. With this package, users can define their own option settings manager holding option names, default values and (if so desired) ranges or sets of allowed option values that will be automatically checked. Settings can then be retrieved, altered and reset to defaults with ease. For R programmers and package developers it offers cloning and merging functionality which allows for conveniently defining global and local options, possibly in a multilevel options hierarchy. See the package vignette for some examples concerning functions, S4 classes, and reference classes. There are convenience functions to reset par() and options() to their 'factory defaults'.


settings

An Option Settings Manager for R.

From R:

install.packages('settings')

To install the github version, you need to have the devtools package installed.

devtools::install_github("markvanderloo/options")

News

version 0.2.4

  • support for limiting option values
  • option names that were not defined when creating the options manager are now ignored with a warning.

version 0.2.2

  • bugfix: graphs device altered after loading package.

version 0.2.1

  • added reset_par(), reset_options()

version 0.1.0

  • initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("settings")

0.2.4 by Mark van der Loo, 3 years ago


https://github.com/markvanderloo/settings


Report a bug at https://github.com/markvanderloo/settings/issues


Browse source code at https://github.com/cran/settings


Authors: Mark van der Loo


Documentation:   PDF Manual  


GPL-3 license


Imports grDevices, graphics

Suggests testthat, knitr


Imported by PPRL, RFishBC, Rnightlights, Ryacas, atable, dcmodify, validate.


See at CRAN