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

hadley wickham h.wickham at gmail.com
Wed Dec 17 01:54:48 CET 2008


On Tue, Dec 16, 2008 at 5:40 PM, Prof Brian Ripley
<ripley at stats.ox.ac.uk> wrote:
> 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.

That's a good question.  The main reason is because it's easy for me
to tell my remote user how to load the gui - source("http://....")

Hadley

-- 
http://had.co.nz/



More information about the R-help mailing list