[R-SIG-Mac] invalid graphics state using dev.print
Paul Roebuck
roebuck at mdanderson.org
Fri Feb 3 21:31:59 CET 2006
I'm trying to determine what's changed from my customized
[defunct] Panther setup to the basic Tiger one I am using
now.
$ open /Applications/Utilities/X11.app
$ open /Applications/R.app
> capabilities("png") # TRUE
> x11()
> plot(rnorm(10), main="test")
> dev.copy(device=x11) # so far so good
> dev.print(device=png, file="test.png")
Error in dev.copy(device = function (filename = "Rplot%03d.png", width =
480, :
invalid graphics state
Get same result when using "quartz" device.
I'm sure my previous environment had /usr/local/lib/libpng
but I'm trying to keep this machine a little closer to
stock, attempting to use only what typical non-developer
useR would have loaded. Is this missing libary causing
the problem?
Mac OS X 10.4.4
powerpc-apple-darwin7.9.0
R.app 1.14(2129)
R Framework 2.2.1 [2005/12/20]
----------------------------------------------------------
SIGSIG -- signature too long (core dumped)
More information about the R-SIG-Mac
mailing list