I want to create an R application that includes a user interface where the user inputs values etc and then can run R calculations and get results back on the user interface. I was hoping that an easy to use GUI package exists. Can anyone point me to such an easy to use package to create GUIs for R? Thanks in advance for any help. Lion Bernard McGarvey Director, Fort Myers Beach Lions Foundation, Inc. Retired (Lilly Engineering Fellow). [[alternative HTML version deleted]]
Shiny (from RStudio - and free) A wonderful tool. And the app is accessed via the user's browser. On Thu, Jan 10, 2019 at 4:18 PM Bernard McGarvey < mcgarvey.bernard at comcast.net> wrote:> I want to create an R application that includes a user interface where the > user inputs values etc and then can run R calculations and get results back > on the user interface. I was hoping that an easy to use GUI package exists. > > > Can anyone point me to such an easy to use package to create GUIs for R? > > > Thanks in advance for any help. > > > > Lion Bernard McGarvey > > Director, Fort Myers Beach Lions Foundation, Inc. > > Retired (Lilly Engineering Fellow). > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
On Wed, 9 Jan 2019 14:29:22 -0500 (EST) Bernard McGarvey <mcgarvey.bernard at 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. -- Best regards, Ivan [*] https://www.tcl.tk/man/tcl8.6/TkCmd/contents.htm [**] https://uwaterloo.ca/statistics-and-actuarial-science/sites/ca.statistics-and-actuarial-science/files/uploads/files/rtcltk_tcl.pdf https://uwaterloo.ca/statistics-and-actuarial-science/sites/ca.statistics-and-actuarial-science/files/uploads/files/rtcltk_geometry.pdf [***] https://rcommander.com/
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 at 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