Message-ID: <3057.192.168.20.199.1101276596.squirrel@192.168.20.199>
Date: 2004-11-24T06:09:56Z
From: Thuan-Jin Kee
Subject: R 2.0.1 jpeg() png() pdf() Mac OSX 10.3.5 - empty files being created
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
>jpeg("test.jpg",plot(rnorm(10)))
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
empty.
There is no error message.
I've tried
>png("test.png", plot(rnorm(10)))
and
>pdf(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
Yours
Jin Kee