similar to: Drawing to a buffer (or double buffering)

Displaying 20 results from an estimated 800 matches similar to: "Drawing to a buffer (or double buffering)"

2012 Mar 08
3
"figure margins too large" in RGtk2 drawing area as cairo device - why?
When using a gtkDrawingArea as a Cairo device I very often encounter the error: "figure margins too large" Even for the below "getting started" example from http://www.ggobi.org/rgtk2/ this is the case. > win = gtkWindow() > da = gtkDrawingArea() > win$add(da) > asCairoDevice(da) [1] TRUE > plot(1:10) Fehler in plot.new() : Grafikr?nder zu gro? > Also
2012 Mar 05
2
changing the drawing context using Cairo and RGtk2
I am not too familiar with Cairo and RGtk2 and have the following problem: I have a container with two GTK drawing areas converted into Cairo devices. I know that I can set the current drawing context e.g. using dev.set(). But this is tedious. How can I set the context using the objects da1 or da2? w <- gtkWindow() w$setSizeRequest(400, 400) vbox <- gtkVBox() da1 <- gtkDrawingArea()
2008 Jul 28
1
equivalent to "require" for imports? (cairoDevice)
Hi R-devel I use the packages RGtk2 and cairoDevice. The cairoDevice package has a few stand-alone functions, plus "asCairoDevice" which depends on RGtk2 and calls require(RGtk2). So cairoDevice lists RGtk2 under "Suggests" in the DESCRIPTION file. It can not Import RGtk2 because that would force all users to install RGtk2. The upshot of this is, if you *import* the RGtk2
2011 Dec 22
1
RGtk2: How to overlay a gtkDrawingArea with a button or any other widget?
I try to overlay a plot inside a gtkDrawingArea with a button (or any other widget). I tried to put both into a gtkFixed container. But this does not work, no printing occurs. Does someone know a solution? What I tried: w <- gtkWindow() w$setSizeRequest(400,400) fx <- gtkFixed() da <- gtkDrawingArea() fx$put(da, 100, 100) asCairoDevice(da) par(mar=c(0,0,0,0)) plot(1:10) btn.1
2013 Jan 10
0
asCairoDevice issue
Hi All, I found this issue when using asCairoDevice to transforming splom scatter plot to my RGtk2 GUI: If I put the code in R GUI or using CairoPNG or Cairo_pdf() to draw the scatter plot, I can get it correctly: The codes are: (you can copy and paste to your R GUI) super.sym <- trellis.par.get("superpose.symbol") plot.call<-splom(~iris[1:4], groups = Species, data = iris,
2006 Sep 21
0
cairoDevice 1.2 on CRAN
The cairoDevice package has recently been released on CRAN. cairoDevice is an R graphics device based on the cairo (http://www.cairographics.org) vector graphics library. It is distinguished from many other devices in its ability to render high quality anti-aliased graphics. It is available on all three major platforms (Windows, Mac, and Linux) and requires the GTK+ 2.8.0 library and its
2006 Sep 21
0
cairoDevice 1.2 on CRAN
The cairoDevice package has recently been released on CRAN. cairoDevice is an R graphics device based on the cairo (http://www.cairographics.org) vector graphics library. It is distinguished from many other devices in its ability to render high quality anti-aliased graphics. It is available on all three major platforms (Windows, Mac, and Linux) and requires the GTK+ 2.8.0 library and its
2003 Mar 07
0
New version of pmg -- Poor Man's GUI
For those who are interested, I've finished release of 0.4 of pmg and have placed it on my website at http://www.math.csi.cuny.edu/Statistics/R/pmg. The pmg package provides some GUI elements using the RGtk package and friends: RGtk, OOP, RGtkExtra, RGtkHTML, RGdkPixbuf, RGtkViewers and REventLoop from www.omegahat.org and gtkDevice from CRAN. (These require a form of UNIX such as linux, OS
2007 Apr 20
1
faster image display?
Does someone here know of a way to display images in R that isn't slow? Here are the things I've tried so far: library(rimage) i<-read.jpeg('foo.jpg') plot(i) # very slow library(pixmap) i <- read.pnm('foo.pnm') plot(i) # also slow chans <- getChannels(i) image(chans[,,1]) # this is slow too I also tried using library(cairoDevice) but it only makes everything
2007 Jul 18
3
How to open an URL using RGtk2
Hi I am working on R 2.5.0 on window. I am trying to provide a Hyper-link to the user as a result, I have tried using gtkLinkButton to exercise the facility, however, i am not able to perform the required task, i.e. when I clicked on the LinkButton actually nothing happened. I have gone through the documentation for the same and found that GtkLinkButtonUriFunc is a function which is require to
2010 Jul 20
1
Building rattle on Solaris 10u7 X86
We have tried to build rattle on Solaris 10 X86 platform, and the results are : 1. Package XML and pmml can be built. 2. Package RGtk2 can be built but can’t be installed because the installer can’t find GTK on Solaris, but it seems GTK has been preinstalled on Solaris 10, but I don’t know how to configure it. 3. There are errors when building the cairoDevice package , the error
2011 Jun 09
1
cairoDevice on Windows: succesful installation but does not load
Hi! I've tried to install playwith on Windows XP but, > install.packages("cairoDevice") trying URL 'http://cran.at.r-project.org/bin/windows/contrib/2.13/cairoDevice_2.15.zip' Content type 'application/zip' length 52371 bytes (51 Kb) opened URL downloaded 51 Kb package 'cairoDevice' successfully unpacked and MD5 sums checked The downloaded packages are
2010 Jul 12
1
errors from update.packages()
Running R.2.11.1, debian linux, I tried to update.packages as root within R and get errors for cairoDevice and latticeExtra I don't know how to fix. For cairoDevice, I don't know what gtk+2.0 is; for latticeExtra, I'm surprised that R cannot find RColorBrewer built for R 2.10+ What to do? > old.packages() Package LibPath Installed Built
2009 Nov 19
0
strange crashes caused by 'cairoDevice' and 'tcltk' dialogues
Dear developers I get some strange crashes when 'cairoDevice' and 'tcltk' are both loaded in the same R vanilla session. When executing the following in that order require(relimp) require(cairoDevice) showData (iris) I get a crash with the following message (see R-relimp-cairoDevice.txt): The program 'R' received an X Window System error. This probably reflects a bug in
2003 Jul 31
1
spatial statistics vs. spatial econometrics
Dear R users, I am putting together reading and resources lists for spatial statistics and spatial econometrics and am looking for some pointers from more experienced practitioners. In particular, I find two "camps" in spatial modelling, and am wondering which approach is better suitied to which situation. The first camp is along the lines of Venables and Ripley's Chapter 14
2010 Jul 09
1
installing packages over ssh without X forwarding
Hi, Is it possible to install packages without the testing if installed package can be loaded? I need to install bunch of packages on multiple computers over ssh. Some packages witch interact with X11 display cannot be installed in this way. for example after: > install.packages('cairoDevice',dep=T) I get (...) *** installing help indices ** building package indices ... ** testing if
2018 Apr 15
1
RQDA/RGtk2 Installation Problem
Greetings, I have been having a problem installing RQDA on my Mac (OS 10.13.2). I followed the installation process on the RQDA page ( http://rqda.r-forge.r-project.org/), but I keep getting an error message saying that I am missing pkg-config and GTK. I reinstalled XQuartz and GTK+ 2.24.17 multiple times (and reinstalled R version 3.4.4), but kept receiving the same error message. I also tried
2009 May 25
2
cairoDevice.dll error, but it exists..?
Hello, running windows vista, R2.9. Installed the following libraries: (*latticist*, *playwith* and *Cairo*) Wanted then to run, to evaluate the visualization features: >data(iris) >library(latticist) >latticist(iris) However, i tested my desktop and laptop and get the following error after typing latticist(iris): latticist(iris) Loading required package: playwith Loading
2010 Mar 22
4
Playwith on Mint
Hello, I am having trouble installing the package playwith on the latest Mint "helena", running R version 2.10.1 (2009-12-14). I suspect it has to do with the GTK library but as far as I can tell there is nothing wrong with it. Any help extremely appreciated. I include the output: > install.packages("playwith") Warning in install.packages("playwith") :
2010 Jan 16
0
'tcltk' crashes related to event-loops (PR#14187)
--0016e6d464cff5d753047d482362 Content-Type: text/plain; charset=UTF-8 I am experiencing some regular crashes on Debian Linux, 32- and 64-bit, involving 'tcltk' and 'cairoDevice' or 'RGtk2'. They make it very difficult to use tcltk interfaces (Rcmdr) and GTK+ ones (rattle, playwith, etc.) in the same R session. NOTE: Before you continue, please read NOTE2 located towards