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

R : How to control the right click of mouse in gWidgets

In gWidget GUI I have seen a feature on right click on mouse Copy Save How can I use that Save handler so save my shown dataset in table ? Kindly refer to the image below : Also in my code I have used graphicspane1 <- ggraphics(cont =…
user_az
  • 363
  • 2
  • 3
  • 17
0
votes
1 answer

How to print R results in an updatable graphics device?

I'm working on a project involving time series analysis and to make it more user friendly for people not keen on R I'm working on GUI through the packages gWidgets and RGtk2. I've already set up an initial user interface selecting data and date to…
Lorenzo Rigamonti
  • 1,705
  • 8
  • 25
  • 36
0
votes
1 answer

gcombobox (with Gtk2) event looping

The following code shows that assigning an item vector to gcombobox will result in looping of the gcombobox handler over each element of the existing item vector (try clicking, for example, "a" or "b" and you'll see the multiple printed messages…
0
votes
1 answer

Plotting with gWidgetstcltk

I've made a gui with a button, the handler of which executes a plot method of a class I made, it uses ggplot2 and grid/gridExtra in a normal R session to put together the plot. It works fine using the plot() function in console. My button/handler is…
SJWard
  • 3,629
  • 5
  • 39
  • 54
0
votes
2 answers

R gWidgets remove parameters and passing arguments

I’m new to R world and I’m having some difficulties working with gWidgets and I hope someone out there can help me. First of all my R version is 2.15.2., and I’m using Windows 7 32-Bit. I want to create a GUI with Input/Output and a selection (Yes,…
Cesar
  • 3
  • 2
0
votes
0 answers

Extracting/replacing objects from a gtable container

I've placed a gradio object into a gtable cell. Based on a selection from another control I want to modify the nature of the gradio object and replace it in the same cell. tmpL <- gframe(" Locations ", container=group, columns=2,…
Dr Dave
  • 453
  • 1
  • 4
  • 11
0
votes
1 answer

multiple graphics windows with gWidgets

The ggraphics() constructor of the gWidgets package opens a plot window. Is it possible to open several plot windows and to control in which window we plot a graph ? (The help of ggraphics() says: When multiple graphics devices are present, clicking…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
0 answers

How to place gwindow inside main R window

I'm using gwindow() function to open new window in gwidgets in R. But it opens new window in windows. I want it to open a subwindow within main R window. How can I force that? There is an option parent to gwindow() function, but I would need a…
Tomas
  • 57,621
  • 49
  • 238
  • 373
0
votes
1 answer

gWidgets: Resize combobox to fit content

I have created a GUI using gWidgets and RGtk2. A part of the GUI is a glayout with a set of gcomboboxes. These boxes are initially empty and gets populated once a file is imported. On mac with Gtk+ running through X11 the width of the comboboxes…
ThomasP85
  • 1,624
  • 2
  • 15
  • 26
0
votes
1 answer

position of the labels in a widget

In the widget below, is it possible to change the position of the label of the "radio" groups. I would like something like that instead of having "Type" above the items: Type o Quantitative o Qualitative win <-…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
1 answer

What is the preferred way to upload files using gWidgetsWWW?

gWidgetsWWW manual indicates that the gfilebrowse widget is written only for local installs. In my local prototype with gWidgets I was using a technique described here, but as I am trying to build an app that sits on a web server, then what would…
learnr
  • 6,479
  • 4
  • 27
  • 23
0
votes
3 answers

names of the arguments in a R widget

Below is an artificial example of a R widget library(gWidgets) options("guiToolkit"="RGtk2") f <- function(file, max.rows){ dat <- read.table(file, nrows=max.rows) return(max(dat[,])) } lst <- list() lst$action <-…
Stéphane Laurent
  • 75,186
  • 15
  • 119
  • 225
0
votes
1 answer

gWidgetsWWW2 Error

Hi I have installed FastRWeb, Rserve and gWidgetsWWW2 packages and followed the instructions. on the respective sites on my Linux (Ubuntu 10.04.3) with Apache web server. I have loaded the test.R app and when I go to the URL…
0
votes
1 answer

R - google slider by gwidgets

I am looking for a way to implement sometimes like the slider in googleVis' annotated timeline: https://developers.google.com/chart/interactive/docs/gallery/annotatedtimeline I can adjust timeframe by both starting and ending points and move the…
SilverSpoon
  • 655
  • 4
  • 8
  • 17
-1
votes
1 answer

Making a self destructive code in R

I was making a package in R and would like it to make it as a trial version for a period of 30 days . Well my question is how to make a code self destructive depends on number of days ?? I had played…
1 2 3
14
15