[R] User Interfaces for R

Duncan Murdoch murdoch@dunc@n @ending from gm@il@com
Fri Jan 11 01:25:30 CET 2019


On 10/01/2019 4:25 p.m., Ivan Krylov wrote:
> On Wed, 9 Jan 2019 14:29:22 -0500 (EST)
> Bernard McGarvey <mcgarvey.bernard using comcast.net> wrote:
> 
>> Can anyone point me to such an easy to use package to create GUIs for
>> R?
> 
> If you want a traditional approach, a lot of R installations have
> Tcl/Tk support built in (i.e. capabilities('tcltk') is TRUE). This
> means that you can run library(tcltk) and call Tk functions to display
> interactive windows almost everywhere.
> 
> This toolkit requires some knowledge of Tk [*] and may not look
> particularly nice on some platforms, but is probably already included
> in most R installations and has low resource footprint. There is a set
> of slides [**] that might help you start using Tk, its widgets and
> geometry managers.
> 
> R commander (Rcmdr, [***]) package has been developed using Tk.
> 
> The book Programming Graphical User Interfaces in R by Michael
> Lawrence and John Verzani (ISBN 9781439856826) describes the major R
> packages for GUI programming: RGtk2, qtbase, Tcl/Tk, and gWidgets.
> 

That book was published in 2012, and things have moved on since then. 
Eric's suggestion of Shiny is newer, and is a really well-designed 
system.  A fairly steep learning curve, but worth it.

Duncan Murdoch



More information about the R-help mailing list