[R] Building Custom GUIs for R

Greg Snow Greg.Snow at imail.org
Fri May 20 23:04:19 CEST 2011


I think that the Rcmdr package already does a lot of what you want, rather than starting from scratch you should check it out.  Rcmdr has the functionality of letting you write your own add-ins, so if it currently does not have the functions that you want you could just create an add-in to add that functionality to Rcmdr rather than writing your own.  There is also the Rexcel project which uses MSExcel as a front end to R (and uses the Rcmdr menus), so the non-programmer only has to deal with excel (and an extra menu bar) and all the scary R stuff is hidden.

If Rcmdr still has too many scary bits exposed, then you can at least look at the code and base yours off of those examples.  Or if you only want to provide a very limited set of options, then consider using a web based approach with html interface (as others have already mentioned).

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of vioravis
> Sent: Friday, May 20, 2011 12:52 AM
> To: r-help at r-project.org
> Subject: [R] Building Custom GUIs for R
> 
> I am looking to build simple GUIs based on the R codes I have. The main
> objective is to hide the scary R codes from non-programming people and
> make
> it easier for them to try out different inputs.
> 
> For example,
> 
> 1. The GUI will have means to upload a csv file which will be read by
> the R
> code.
> 
> 2. A button to preprocess data (carried out by a R function behind)
> 
> 3. A button to build some models and run simulations
> 
> 4. Space to display visual charts based on the simulations results
> 
> 5. Option to save the results to a csv file or something similar.
> 
> Are there any tools currently available that enable us build GUIs???
> (MATLAB
> has a GUI builder that enables the users build custom GUIs).
> 
> Can we make a exe of such GUI (with the R code) and let people use it
> without having to install R???
> 
> Any help on this would be much appreciated??
> 
> Thank you.
> 
> Ravi
> 
> 
> 
> 
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Building-
> Custom-GUIs-for-R-tp3537794p3537794.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> 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.



More information about the R-help mailing list