Saving default GUI settings

I try to save my GUI settings and use them by default when I open R. I use R 3.0.1, a 64-bit version on Windows.

I went to "edit", then "GUI settings ..." and changed them. I selected the "Save" button and saved the GUI settings file as "Rconfig" in the / etc file where the programs are stored.

Unfortunately, this Rconfig is not the default file that R uses for GUI preferences. Each time I open R, I go to the "GUI preferences ..." menu and open the "Rconfig" file again.

What else do I need to do so that my saved GUI settings are open by default?

+4
source share
1 answer

How ?Rconsole indicates:

There are system copies of these files in "R_HOME", etc. Users can have personal copies of files: they are searched for at the location of the specified R_USER environment variable. System files are read only if the corresponding personal file is not found.

If the R_USER environment variable is not set, the R system sets it to HOME if it is set (deleting any trailing slash), otherwise the Windows Personal Directory, otherwise {HOMEDRIVE} {HOMEPATH}, if HOMEDRIVE and HOMEDRIVE are set differently for working directory. This is described in the rw-FAQ file.

So, start by checking, for example. that Sys.getenv("R_USER") installed and checks the Rconsole file there and keep moving until you find the damaging file.

+3
source

Source: https://habr.com/ru/post/1497490/


All Articles