Creation of graphical user interface in R

Asked

Viewed 805 times

1

I wonder if there is a package that allows you to create a graphical user interface with buttons, text box and everything else. And how to generate a . exe from R code?

  • 6

    R has a Qt interface available here: https://github.com/ggobi/qtbase . I’ve never used and don’t know good projects that interface this kind with R. It’s just not good for making these kinds of programs. R is closest to the web, with Shiny and Plumber, for example. Cannot create executables from R scripts.

  • Even after two years I find myself in the dark with this problem again. I met Rinno (https://github.com/ficonsulting/RInno) who creates an installer to run Shiny apps standalone on the user’s machine.

1 answer

1


Maybe the "COMMAND (Rcmdr)" be what you are looking for. See website and now has even a book. It is a graphical interface for R that has several plugins. Here, including, several buttons, menus and checkboxes are translated into English. You can also find some handouts in Portuguese, e.g.: pdfs here and here. To install, type install.packages("Rcmdr") on the console afterwards, to use: library(Rcmdr). R Commander can be used together with Rstudio.

Another option, with nicer interface and other features, is to use R through Rstudio and install some "Rstudio Addins". I suggest you first install the addinslist that will allow you to find other Addins.

As for the creation of an executable from a code, I can’t answer.

  • Two years later, I’m still close to this problem again. After some researches I found the gWdigets (https://cran.r-project.org/web/packages/gWidgets/vignettes/gWidgets.pdf) it integrates the R with GTK. I’m still in my initial studies, but he’s pretty close to what I need.

  • Regarding the executable I am working on an integration of Shiny with Rinno (https://github.com/ficonsulting/RInno) creating an installer to run Shiny apps standalone on the user’s machine.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.