[Rd] Graphical User Interface (GUI)

John Fox jfox at mcmaster.ca
Wed Jul 8 23:52:24 CEST 2015


Dear vthokienj,

One approach would be to write a plug-in package for the Rcmdr package. An
advantage is that data input (at least of rectangular data sets), data
management, etc., are already taken care of. There are about 40 such
plug-ins currently on CRAN, most with names beginning with "RcmdrPlugin.". 

The GUI toolkit that's used is Tcl/Tk and the tcltk package is part of the
standard R distribution. Some convenience functions for creating dialogs are
exported by the Rcmdr package for use in plug-ins. A couple of relevant --
if somewhat dated -- articles are in R News <
http://www.r-project.org/doc/Rnews/Rnews_2007-3.pdf > and the Journal of
Statistical Software <http://www.jstatsoft.org/v49/i07>.

Best,
 John

-----------------------------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario, Canada
http://socserv.socsci.mcmaster.ca/jfox/




> -----Original Message-----
> From: R-devel [mailto:r-devel-bounces at r-project.org] On Behalf Of
> vthokienj
> Sent: July-08-15 2:43 PM
> To: r-devel at r-project.org
> Subject: [Rd] Graphical User Interface (GUI)
> 
> I'd like to create a user interface for my R code and have only seen
> mostly
> older posts on the subject.
> I'm not looking for an IDE for development, but something that the end
> user
> of the software would use.
> So something that would involve displaying buttons, listboxes, and drop
> down
> menus to a user that will facilitate various actions.
> 
> I doubt there is anything Visual Studio-like that provides a toolbox to
> drag
> and drop, but what would be the simplest way to approach designing an
> interface? The basic goal of my program is to have the user enter data
> which
> would be saved to a database. Then, through the interface, various
> buttons
> will draw various graphs on that data.
> 
> Thanks in advance for any help on this.
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Graphical-
> User-Interface-GUI-tp4709583.html
> Sent from the R devel mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the R-devel mailing list