[R] Changing Gui preferences

Henrik Bengtsson hb at maths.lth.se
Sat Apr 24 13:13:41 CEST 2004


Hi, a quick reply to help troubleshoot. The below (is "minimal" and)
works on both R v1.8.1 and R v1.9.0 on WinXP Pro:

>From http://www.maths.lth.se/help/R/Rgui/:

"By default all plot windows (The "Figure 2" etc windows) opened in
Rgui are placed within the Rgui frame. Some people prefer this others
don't. An option is to let the main window and all plot windows live
separately. See screenshots to the right. 

This is done by selecting "GUI preferences..." in the "Edit" menu.
Then select "SDI" (instead of "MDI") next to "Single or multiple
windows". The click "Save" and accept the suggested pathname
("Rconsole") by clicking "Save" in the opened file dialog. The click
"Cancel" (yes, it is indeed ok). Restart R to get effectuate the
settings."

My R_USER and HOME as seen by R are:

> Sys.getenv("R_USER")
                          R_USER 
"C:\\Documents and Settings\\hb" 
> Sys.getenv("HOME")
HOME 
  "" 

Maybe it helps you on the way...

Henrik Bengtsson




> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch 
> [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Murray 
> Jorgensen
> Sent: den 24 april 2004 11:05
> To: Prof Brian Ripley; R-help
> Subject: Re: [R] Changing Gui preferences
> 
> 
> Prof Brian Ripley wrote:
> 
> > On Sat, 24 Apr 2004, Murray Jorgensen wrote:
> > 
> > 
> >>I want to modify my Gui preferences to get rid of the MDI 
> toolbar and
> >>status bar. [ Under Windows XP and R 1.8.1 and 1.9.0.]
> >>
> >>When I uncheck the boxes and click "apply" I am told to save the
> >>preferences and the changes will take effect when 
> restarting R. I click 
> >>"save" and a box comes up to ask me to save Rconsole (I'm 
> not sure where 
> >>this should be saved but I navigate my way to where the old 
> Rconsole was 
> >>and save on top of it.
> > 
> > 
> > ?Rconsole tells you where the copy in use is saved.
> 
> What it says is:
> 
>       There are system copies of these files in 'R_HOME\etc'. 
>  Users can
>       have personal copies of the files: these are looked for in the
>       location given by the environment variable 'R_USER'. The
system
>       files are read only if a corresponding personal file is 
> not found.
> 
>       If the environment variable 'R_USER' is not set, the R 
> system sets
>       it to 'HOME' if that is set (stripping any trailing slash),
>       otherwise to '{HOMEDRIVE}{HOMEPATH}' if 'HOMEDRIVE' is set
>       otherwise to the working directory.
> 
> Now under Control Panel>System>Advanced I find a box listing 
> environmental variables. I find no R_HOME or R_USER listed there so 
> presumably they are not set.
> 
> I'm not sure how to find 'HOME' but I presume that it is the 
> path that 
> appears in the 'Change directory' box when you open this through the

> gui. In which case for me 'HOME' is
> 
> C:\apps\R\rw1090
> 
> Now I have 3 versions of Rconsole near here. They are in
> 
> C:\apps\R\rw1090\etc
> C:\apps\R\rw1090           and
> C:\apps\R
> 
> I still don't know how to change my Gui preferences!
> 
>  >[...]
> 
> Murray
> 
> -- 
> Dr Murray Jorgensen
http://www.stats.waikato.ac.nz/Staff/maj.html
> Department of Statistics, University of Waikato, Hamilton, New
Zealand
> Email: maj at waikato.ac.nz                                Fax 7 838
4155
> Phone  +64 7 838 4773 wk    +64 7 849 6486 home    Mobile 021 1395
862
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://www.stat.math.ethz.ch/mailma> n/listinfo/r-help
> PLEASE 
> do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list