Ziyuan
Ziyuan

Reputation: 4558

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.

Upvotes: 11

Views: 24462

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368201

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.

Upvotes: 16

Related Questions