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

saveOptions

Save R Commander Options in an R Profile File


Description

This dialog creates a ‘.Rprofile’ file, by default in the current directory, adding to it the current R Commander options, set, e.g., in the Options dialog. If R is subsequently restarted in this directory, and the Rcmdr package loaded, then the current R Commander options will be applied. The current directory will typically, though not necessarily, be your home directory — for example, for Windows users, your Documents directory.

If a ‘.Rprofile’ file already exists in the current directory, then the R Commander options are added to it at the end of the file, after removing R Commander options previously generated by an earlier invocation of this dialog.

The contents of the ‘.Rprofile’ file may be edited before you save the file. If you want to start the R Commander automatically when R starts, uncomment (remove the #s from) the four lines

# local({
    #    old <- getOption('defaultPackages')
    #    options(defaultPackages = c(old, 'Rcmdr'))
    # })

See Startup for a description of the ‘.Rprofile’ file and the R startup process in general.

See Commander for a description of the various R Commander options.

Usage

saveOptions() # typically through the R Commander Tools menu

Author(s)

See Also


Rcmdr

R Commander

v2.7-1
GPL (>= 2)
Authors
John Fox [aut, cre], Milan Bouchet-Valat [aut], Liviu Andronic [ctb], Michael Ash [ctb], Theophilius Boye [ctb], Stefano Calza [ctb], Andy Chang [ctb], Vilmantas Gegzna [ctb], Philippe Grosjean [ctb], Richard Heiberger [ctb], Kosar Karimi Pour [ctb], G. Jay Kerns [ctb], Renaud Lancelot [ctb], Matthieu Lesnoff [ctb], Uwe Ligges [ctb], Samir Messad [ctb], Martin Maechler [ctb], Robert Muenchen [ctb], Duncan Murdoch [ctb], Erich Neuwirth [ctb], Dan Putler [ctb], Brian Ripley [ctb], Miroslav Ristic [ctb], Peter Wolf [ctb], Kevin Wright [ctb]
Initial release
2020-10-07

We don't support your browser anymore

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