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
3
votes
1 answer

R- spplot not plotting raster stack in gWidgets GUI

I have been building a small GUI for climate analysis using gWidgets in R. Progress has been slow but steady until I hit a problem trying to display my raster stack of results using spplot(). The issue is that only the first raster in the stack is…
drJones
  • 1,233
  • 1
  • 16
  • 24
3
votes
1 answer

gWidgets resize/maximize modal window

My script needs to wait for user input before continuing its processing. After using the R gWidgets package to implement a GUI, I found that the gbasicdialog widget works better than gwindow because it is modal. The gwindow widget has useful…
3
votes
1 answer

how can i change the shape mouse cursor in gWidgets RGtk2?

In a Drawing Area of ggraphics in gWidgets changes the mouse cursor to "GDK_TCROSS",but i want the same mouse cursor of the gwindow "GDK_LEFT_PTR": library(gWidgets) library(gWidgetsRGtk2) library(RGtk2) options(guiToolkit = "RGtk2") …
narteaga
  • 147
  • 2
  • 12
3
votes
1 answer

What markup does gwidgets glabel use in R?

In gWidget's glabel object there is an option to use markup in the label's text. I've activated this to true and tried to use a few markup conventions, e.g. for bold , , ''' text ''' Markdown conventions etc. But none I've tried are working.…
SJWard
  • 3,629
  • 5
  • 39
  • 54
3
votes
1 answer

gWidgetRGtk2 gcheckbox list addition/subtraction with looping

I've been trying to get his to work all day, but I can't find a simple explanation on how this works. I have a vector with 3 items, c(file1, file2, file3), I want to be able to toggle the checkbox on and off, when its on I want the first item…
crysis405
  • 1,121
  • 2
  • 13
  • 26
3
votes
2 answers

GUI to subset a data frame in R

I am building a custom GUI in R for work, and I need to have a part that can select a subset of a dataframe based on variable values (i.e. select all females that are above 50 etc.). I am building the GUI with gwidgets, but I am stuck with regards…
Thomas Jensen
  • 860
  • 3
  • 11
  • 26
3
votes
2 answers

gWidgets and rGtk2 issue with ggroup

On ubuntu 12.04 I installed gWidgets and am intending to use RGtk2 binding. Now, invoking of single components like obj <- gbutton("hello man!", container = gwindow()) works, but whit other basic function win <- gwindow("main app") group <-…
Fedja Blagojevic
  • 813
  • 1
  • 10
  • 18
2
votes
0 answers

Can I embed an acinonyx plot into gWidgets (gWidgetsRGTK2 or gWidgetsQt) in R?

I am trying to create a simple data viewing gui for neurophysiological recordings from EEG or MEG using R in which one could select any time point in the recorded timeseries and see the corresponding interpolated scalp distribution of the data. What…
dalmeida
  • 21
  • 2
2
votes
1 answer

R: Rgtk2: gwidgets: gWidgetsRGtk2

I would like to combo gWidgets(john verzani) with Rgtk2. This could be used by anyone as a paradigm. The algorithm is as follows: STEP 1: Construct a gwindow (or a gframe) STEP 2: Construct a GTK scrollable text view STEP 3: Convert the last one…
Apostolos Polymeros
  • 823
  • 1
  • 8
  • 19
2
votes
1 answer

R gWidgets2 doesn't return values

I am trying to make an input form with gWidgets2 to write your name, select a time period and select a car. These input values are the saved into a list. The data is following: list.timeinterval = c("last month", "last year", "Specific…
thban
  • 43
  • 5
2
votes
1 answer

Getting Norwegian characters ( in text strings) right in gWidgets

I have used gWidgets to create a GUI in R. It works well except when I have to use special characters found only in certain languages like Norwegian (Å,Ø,Æ). At some point mty scripts read in values from a file (dam.csv) and one of the values is the…
jjunju
  • 505
  • 1
  • 5
  • 18
2
votes
1 answer

R low performance plotting with pch=16 in gWidgets2

On Windows I have recently updating R from 3.1.2 to 3.2.2 and updating all packages I am using as well (including cairoDevice). Now I observe that plotting under gWidgets2 shows a very poor performace, especially for…
2
votes
2 answers

How to add a context menu to a `gframe`?

How can I add a context menu to a gframe in gWidgets2? I tried the following construct, but it seems that I cannot attach a addPopupMenu to a gframe: require(gWidgets2) w <- gwindow("gformlayout", visible=T) f <- gframe("frame",…
landroni
  • 2,902
  • 1
  • 32
  • 39
2
votes
1 answer

KNIME R integration - Package installation

I am a relatively new user to KNIME. I have been trying to install the 'gWidgetsRGtk2' package through the R snippet, but it keeps throwing me an error when i try to load it. if(require("gWidgetsRGtk2")){ print("gWidgetsRGtk2 is loaded…
Aaron
  • 21
  • 3
2
votes
1 answer

How to switch active device with gWidgets tabbed notebook?

I have created a two-tab GUI with gWidgets. A graph is embedded in each of the two tabs. The problem is that both graphs are sent to tab 2. How can I switch or choose the active device? The vignette of the gwidgets package suggests either…
1
2
3
14 15