Questions tagged [gwidgets]

gWidgets provides a toolkit-independent API for building GUIs for the R programming language.

gWidgets is a set of packages for development. It provides a high-level wrapper over R packages that interface , and , providing a (more-or-less) toolkit-independent way of building GUIs.

Current packages start with the prefix gWidgets2, and older versions start with just gWidgets. V1 of gWidgets also has (now obsolete) interfaces to Java and HTML GUI tools.

Repositories

gWidgets2 gWidgets2RGtk2 gWidgets2tcltk gWidgetsqt gWidgets gWidgetsRGtk2 gWidgetstcltk

Vignettes

Books

Other resources

Related tags

  • 's and packages for creating web and Java GUIs respectively
215 questions
0
votes
0 answers

Using gwidgets, is there a way to focus ginput and the like windows?

I would like to get user input using ginput("type in information"). Is there a way to focus on that window like it is possible with: win <- gwindow("window") focus(win) ? Maybe add a handler to ginput()?
petermeissner
  • 12,234
  • 5
  • 63
  • 63
0
votes
1 answer

Include the results of an analysis (for instance ANOVA) in a gwidget

I'm developing an application for simulating experiments and I need to know how to include the result of an analysis (say ANOVA) into a gwidget area. I can deal with plots (including ggplots), but I cannot find how to manage the output of an…
alsote
  • 1
  • 1
0
votes
1 answer

How to change the language of the messages using the package "gWidgetsRGtk2"

I'm making a GUI in R using the gWidgetsRGtk2 package and I need all messages in English but some appear to me in Spanish. For example: w<- gwindow("Alert", width=100, height=100) g <- ggroup(cont = w) gimage("info", dirname="stock",…
0
votes
2 answers

Insert "" instead of NA when adding rows in gdf [gWidgets2RGtk2]

Is it possible to insert "" instead of NA when creating a new row in gdf? EDIT: Here's some sample code that I tried require(gWidgets2RGtk2) df <- data.frame(x=1:5,y=6:10) #Sample data frame w2 <- gwindow("keyfile editor") h <-…
Wet Feet
  • 4,435
  • 10
  • 28
  • 41
0
votes
1 answer

R combo box for selecting numbe of clusterring

How to fill a combo box with numbers like 2,3,4,5 ,when the user select the number , after that a button coded with clustering will take the value from the combo box to do the selected number of clustering. Need help .
0
votes
0 answers

How to save a plot with gWidgets?

I have a gWdigets GUI making a plot embedded in a ggraphics container. When I right-click on the plot, a menu "copy - save" appears, but when I save the file everything seems to work correctly but at the end there's no saved file.
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
0 answers

R: How to pause script when using gwidgets and store the use input values?

I am trying to understand how to use gWidgets. I am using it to create a GUI for my colleagues with no programming background (Thus Rcmdr won't work). Here's a sample code: options(guiToolkit = "RGtk2") library(gWidgets) library (tcltk) # A…
Wet Feet
  • 4,435
  • 10
  • 28
  • 41
0
votes
0 answers

R: Gwidget simpleError in envRefInferField , for gedit

For every gedit i have i get this error on the console line whenever i run my entire R of widget code
Napmi
  • 521
  • 2
  • 13
  • 32
0
votes
1 answer

Gwidgets how to make gedit uneditable

Any idea how to make the gedit textbox unable to be clicked or edited when the user selects a radiobox choice? For example choosing radiobox a allows the user to use all 4 gedit and choosing radiobox b allows the user to only edit the first gedit…
Napmi
  • 521
  • 2
  • 13
  • 32
0
votes
0 answers

gWidgetstcltk on Mac - native look and feel

I've been making a GUI for an R package with gWidgets and gWidgetstcltk and have just finished it, on Windows it's looks fairly normal - Windows 7 style look of buttons etc, but on the Mac it does not look native - it's all grey and square in it's…
SJWard
  • 3,629
  • 5
  • 39
  • 54
0
votes
1 answer

Change mouse cursor of a widget in gWidgetsRGtk2

I want to change the mouse cursor to a hand, for clicking an image. hlp<-gimage("help", dirname="stock", size="dialog") addHandlerClicked(hlp, handler=function(h,...) { browseURL("http://....")}) I have read other post related but setCursor…
JJChickpeaboy
  • 55
  • 1
  • 5
0
votes
1 answer

gWidgets scale plots according to window size

I tried to create a GUI with two ggraphics elements inside holding two plots. Everything works fine except the scaling of the plots when the gwindow is resized. I wonder if the problem lies in the way I create the ggroups or, in the end, if it is…
user1356695
  • 217
  • 1
  • 4
  • 13
0
votes
1 answer

how can utilize dev.copy or svalue in ggraphics?

i have a gui with a area ggraphics and i would want create a subwindow with the graphic active in the area graphic, but dev.copy and svalue not work options(guiToolkit = "RGtk2") win<- gwindow ("window",…
narteaga
  • 147
  • 2
  • 12
0
votes
1 answer

how can i change format (aesthetics) of gtable in gWidgets?

i want change the format of a table in gWidgets R, show vertical lines, change background color. library(gWidgets) options(guiToolkit="RGtk2") w <- gwindow("Example") g <- ggroup(cont=w) table <- gtable(mtcars,cont=g) with gtable function…
narteaga
  • 147
  • 2
  • 12
0
votes
1 answer

In R / gwidgets, how to create a new Widget from Scratch - links between boxes / nodes?

I want to have an interface that allows to draw links between boxes and save the results (box1 is connected to box2, 3 to 4 and so on) as shown in the picture below: I do not really know where to start or even if something like this already exists…
petermeissner
  • 12,234
  • 5
  • 63
  • 63