[R] Legend on plots when using Cairo

2008-04-08 Thread audrey
Dear all, I am trying to use the Cairo package to avoid some X11 issues and it works very well. However, when I want to add a legend to my plots, I receive an error message from Cairo: library(Cairo) CairoPNG(file=test.png) plot(1:100) dev.off() null device 1 This works fine.

Re: [R] Legend on plots when using Cairo

2008-04-08 Thread Prof Brian Ripley
Why are you using Cairo 'to avoid some X11 issues' for an unreleased version of R that does not use X11 for its png() device? I see this under Cairo, but not under png(type =cairo) (the default). The R posting guide asked you to discuss package problems with the maintainer, so if you have not