Generate functions to get or set global options

WWW: https://cran.r-project.org/package=GlobalOptions
