DescToolsOptions("plotit")
## Not run:
#
# # Get all options, defaults are attributed as such
# DescToolsOptions()
#
# # get some options
# DescToolsOptions("plotit", "lang")
#
# # get some potentially undefined option, while taking a user default and
# # overriding system defaults
# DescToolsOptions("stamp", default="Condor, 2016")
#
# # get an undefined option, should return default
# DescToolsOptions("stampede", default="Condor, 2016")
#
# # set options, while getting the old values
# opt <- DescToolsOptions(plotit=789, lang="portugues")
# DescToolsOptions()
# # output the old values
# opt
#
# # just a single argument
# DescToolsOptions(digits=2)
#
# # reset the old values
# DescToolsOptions(opt)
# DescToolsOptions()
#
# # reset factory defaults
# DescToolsOptions(reset=TRUE)
# ## End(Not run)
Run the code above in your browser using DataLab