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
1
vote
1 answer

display and manipulate Images with gwidgets

Dear stackexchange world. I would like to ask a question about a problem I am facing with a small program that I am writing in R. I have written a code that lets you import an image and manipulate it with the EBImage() library. I use gWidgets()…
Tony
  • 469
  • 1
  • 6
  • 18
1
vote
2 answers

How to replace text in gtext ( R / gWidgets )?

Suppose (using R/gWidgets) we have a simple text window like this: require(gWidgets) textwin <- gtext("The camel grazes in the desert.", container=gwindow()) When selecting text with the mouse we can retrieve the selected text. svalue(textwin,…
petermeissner
  • 12,234
  • 5
  • 63
  • 63
1
vote
0 answers

gWidgets + tcltk - creating a simple window returns a error

I'm trying to make a small GUI to make it easier for other people to run a script. I'm using gWidgets with tcltk on a Windows machine. I create a simple window like this: require(gWidgets) require(gWidgetstcltk) options(guiToolkit="tcltk") win <-…
zelite
  • 1,478
  • 16
  • 37
1
vote
0 answers

Disable one item of the radio button in gWidgets

Is it possible to disable the particular item that selected in the radio button? Below is my example code: ts <- c("a", "b", "c") myRadio <- gradio(ts, container = window) #Disable the entire radio button enabled(myRadio) <- FALSE My question is,…
1
vote
0 answers

Loop returning svalue from combobox

This is my first post here but I am a regular stackoverflow visitor. For uploading new datasets, I am processing a dataframe in which one column has some typing mistake. I want users to modify the error from a gcombobox, thus the errors and the…
Jorge Vazquez
  • 43
  • 1
  • 5
1
vote
0 answers

Enlarge a gtable inside a ggroup; R gWidgets

When I add a gtable inside a ggroup (using the RGtk2 guiToolkit) the gtable is very reduced, only 1 or 2 rows. Is there a solution to extend the gtable ? Example : library(gWidgets) options("guiToolkit" = "RGtk2") gwin <- gwindow() group <-…
Julien Navarre
  • 7,653
  • 3
  • 42
  • 69
1
vote
2 answers

Widget for selecting columns of a dataset with mutual exclusion

My R code below generates the interface you see on the screenshot. The user loads a csv file and he selects four columns of the loaded dataset (an example data file is available here but any csv file with at least four columns can be used). I have…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
1
vote
0 answers

Graphics plot device - gWidgets on OSX

I'm in the process of building a GUI in R with gWidgets (so far with just gWidgetstcltk) and I've been asked to put in a plotting device. I've looked at gGraphics and installed RGtk2 and gWidgetsRGtk2 and cairoDevice. The first time I loaded the…
SJWard
  • 3,629
  • 5
  • 39
  • 54
1
vote
0 answers

gWidgets add space between elements gcheckboxgroup

I'm trying to generate a checkboxgroup horizontal, and I will like to add spaces between elements because I want that the checkboxgroup and its frame fit the width of window. alloptions<-gcheckboxgroup(c("BoxPlot", "Tree", "PCA"), …
JJChickpeaboy
  • 55
  • 1
  • 5
1
vote
1 answer

Is there a way to specify position of R gwidget window on screen?

I was wondering if there is a way to say where something like this: require(gWidgets) options("guiToolkit"="RGtk2") win <- gwindow() appears - more precisely is there a way to say that the window should appear on screen at x-pixel 0 and y-pixel…
petermeissner
  • 12,234
  • 5
  • 63
  • 63
1
vote
1 answer

gWidgets - howdo I update a ggraphics widget on a specific gnotebook page

Any suggestions on how to update a ggraphics widget on a specific gnotebook page. I have multiple gnotebook pages (tabs) contaioning ggraphics using Quantmod's charSeries. I'm trying to update individual gnotebook pages. However, any change gets…
user2500880
  • 125
  • 1
  • 9
1
vote
1 answer

R : How to show a Save File Dialog to save my file in gWidgets

I want to save my file by GUI Save wizard in gWidgets. From Save Wizard I want to say as we can choose file with file.choose(), similarly how we can save our file using any save wizard in R gWidgets Kindly give suggestion
user_az
  • 363
  • 2
  • 3
  • 17
1
vote
2 answers

How delete popup menu de copy /save in ggraphics gWidgets

I'm make GUI with a pop up menu with right click, over a graphic but at the same time appear a pop up menu with the options copy or save graphics, how i can delete this last pop up menu? library(cairoDevice) library(ggplot2) library(gWidgets) …
narteaga
  • 147
  • 2
  • 12
1
vote
2 answers

How i can change the background color of gframe in gWidgets?

I am building a GUI in gWidgets R, but I need to change background color of a gFrame from "gray" to "yellow". Thanks
narteaga
  • 147
  • 2
  • 12
1
vote
1 answer

Populating combobox from filebrowse in R and gWidgets

Another beginner question. I've been through so many examples online but can't find one that will help me tailor this portion of my own GUI. As part of the GUI I'm piecing together for my R scripts I need to be able to populate comboboxes from a…