On 9/27/07, Moisan Yves <[EMAIL PROTECTED]> wrote: > > > My experience is that cairoDevice is a lot slower than Cairo, > especially > on Windows, and about equally flaky. If you see how many layers are > involved with Cairo on Windows you will not be surprised. > > Actually, I ended up trying to load deviceCairo simply because it was > the only other package with the string "Cairo" in it besides "Cairo" > itself ;-). I suspected some interaction between the two libraries > (deviceCairo and Cairo) so that's why I tried to load it hoping it would > solve the flakiness of the CairoWin display.
My guess is the problem is due to an older version of GTK+. Although cairoDevice only requires GTK+ 2.8.x (which is probably what you have installed), the Windows binary of cairoDevice on CRAN is probably built against GTK+ 2.10.x, just like RGtk2. I've added a feature to cairoDevice and RGtk2 recently that will automatically try to install the latest binary of GTK+ on Mac and Windows when loading the library fails. That said, I'd really like to merge cairoDevice (specifically the RGtk2-embedding feature) with the Cairo package. Having one less package to maintain would be nice. > If all you need is semi-transparency support I suggest you try R 2.6.0 > RC > which supports it in the windows() device. > > Thanx for the tip. > > Yves Moisan > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.