[R] R 2.0.1 jpeg() png() pdf() Mac OSX 10.3.5 - empty files being created

Thuan-Jin Kee kee at wehi.EDU.AU
Wed Nov 24 07:09:56 CET 2004

Hi everyone,

I've been opening up R 2.0.1 from the dock and then starting the Mac OSX
X11 server.

After that I call


and r pops up a quartz window with the appropriate graph in it and puts a
file called test.jpg into the HOME which is 0kb in size and is completely

There is no error message.

I've tried
>png("test.png", plot(rnorm(10)))


with the same result.

I'm sure that I've got the appropriate libpng and jpeg libraries installed
correctly from sourceforge as linked to by http://www.economia.unimi.it/R/

Thanks in advance

Jin Kee

More information about the R-help mailing list