[R-gui] Developing a GUI

Graham Williams Graham.Williams at togaware.com
Sat Jun 11 01:31:29 CEST 2011


Another option Iis to use the programming
language independent Glade app to build your GUI visually (for GTK,
and hence RGtk2). Basic (and sophisticated) GUIs can be quickly built
and saved as XML which can then be loaded through RGtk2.  Takes away
the hand coding of the GUI if that is a preference, so you mainly
focus on the callbacks. (The same XML file can even be instantiated as
Java, C, etc if you wanted to implement callbacks in those languages
and the call R underneath)

Another coding option using RGtk2 is found in Tom Taverner's RGtk2Extras package
which has a rapid deployment dialog making wrapper called run.dialog -
it wraps an R function with a GUI to seek all the required options.

GTK GUIs (in my opinion) look better than some other competing
toolkits - opinions differ. Runs trivially on Linux and on MS/Windows
(unless you end up with multiple installs of different versions of it
on MS/Windows - after which you have to work a little bit to clean up
your machine), and Mac OS/X though there are some issues with it on
the Mac at times.

Regards,
Graham



More information about the R-SIG-GUI mailing list