A Slider to Control Two Plotting Windows

September 28, 2010 | Yihui Xie

One of my readers asked two weeks ago how to control two graphics windows with the slider in gWidgets. Here is a simple example: if (!require("gWidgetsRGtk2")) install.packages("gWidgetsRGtk2") library(gWidgetsRGtk2) options(guiToolkit = "RGtk2") x11() x11() dev.set() gslider(from = 1, to = 100, value = 10,     container = gwindow("Two Plotting Windows"), ... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)