[R] Programmatically minimising main R window (on windows)

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 17 00:40:05 CET 2008

On Tue, 16 Dec 2008, hadley wickham wrote:

> Hi all,
> Is it possible to programmatically minimise the main window of the
> windows R gui?  I'm designing a small gui with gwidgets & RGtk2 for an
> non-statistician to use, and it would be nice if I could easily hide
> all the R stuff that they don't need.

Not from R itself, but you can by Windows script programming (which you 
can launch by 'system'.  It would also be esay to add a small bit of C 
code to do so.

However why are you using Rgui if you don't want a GUI?  That is what 
Rterm or Rscript or embedded R are for.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-help mailing list