Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a GUI via R?

Now I have several parameters for my plotting. So I want to create a GUI, with some sliders for controlling continuous parameters, some check boxes/option buttons for controlling logical parameters and a dialog box for choosing data files. When I change the parameters, I hope my plot can change immediately. I did some quick search like "r control" or "r interactive" but didn't find interesting stuff. Can anyone give me some hints? Thank you.

like image 691
ziyuang Avatar asked Nov 16 '12 18:11

ziyuang


1 Answers

There is an entire section in the R FAQ devoted to the web interfaces aspect of this. The newest contender is shiny which is definitely worth looking at too.

If you want desktop GUIs, this is a FAQ too as R had this via the tcltk package a for decade+, and there is the excellent gWidgets abstraction by John Verzani et al.

like image 83
Dirk Eddelbuettel Avatar answered Oct 05 '22 15:10

Dirk Eddelbuettel