Re: [Rd] invalid graphics state using dev.print

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Mon 06 Feb 2006 - 23:12:23 GMT

Paul,

On Feb 6, 2006, at 5:24 PM, Paul Roebuck wrote:

> Tried on R-Sig-Mac with no responses, but I need some kind of answer.
> [...]
> Does the following work on your system?

Interesting, no, it doesn't either. For png and pdf I use Quartz + quartz.save (it produces much nicer results) so I didn't really notice, but you're right. First I thought those graphics state issues are specific to the Quartz device, but you have proven that it's not. It's in fact not even Mac-specific - I have just reproduced it on a Linux box - that's why I'm moving this to R-devel.

Here is a small reproducible example:
x11()
plot(rnorm(10))
dev.print(png)

I'll try to have a look at it later today, but I can't promise anything.

Cheers,
Simon



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Feb 07 10:23:18 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:40 GMT