Hi All,
I just installed Cairo on R 2.5.1 on windows XP. My hope was to get to see the transparency output e.g.
ggplot2 - stat_smooth, which I finally managed to do. However, I find the Cairo device, which I access either through CairoWin() or Cairo(type="win"), is pretty shaky in a number of respects :
- whatever portion of the Cairo device that is covered by the R command window does not get drawn. I noticed changing the size of the Cairo window by dragging one of its corners with the mouse does refresh the whole window sometimes
- a simple plot or qplot command works, e.g. qplot(x=kg.hab,y=Cout.ton, data=ech2). When one starts to add xlab, ylab and main then things start getting shaky to the point the display becomes blank. At that point, even reverting back to a simple plotting command that worked 5 seconds ago won't bring back the display. One has to dev.off() and start again.
Besides the interactive windows display, I also wanted to use Cairo's PNG support so I went and tried one of my
png(filename = ...)
commands with
CairoPNG(filename = ...)
and the output was also blank.
Are there additional steps besides a package install of Cairo I have to worry about ?
TIA,
Yves Moisan