[R] PNG diver problem
edd at debian.org
Thu Nov 29 19:09:33 CET 2001
On Thu, Nov 29, 2001 at 10:40:23AM -0700, Andrew Schuh wrote:
> Let me expand my question some. I use R in batch mode for interactive
> web statistics (via RH7.2 and R1.3). I have experimented with using the
> Tcl/Tk and SJava packages, as well as starting gui apps from batch mode.
> I haven't really been able to start any of them and I assume this is
> due to the discussion that has been going on here. I work in parallel
> with someone who works in W2000. He doesn't seem to have any problem
> with starting this kind of stuff. It is a real development hinderance
> not to be able to start GUI apps from batch mode. Does anyone out there
> have any suggestions?
Yes, read the documentation, this thread and the previous ones on the same
topic. You can easily sail around the issue by doing
echo 'bitmap("/tmp/foo.png"); plot(1:10)' > /tmp/foo.R
and foo.R can now be run in interactive sessions, or in batch sessions with
no controlling device as in
echo 'R --no-save < /tmp/foo.R' | at now
You should be able to adapt this to your needs.
Better to have an approximate answer to the right question than a precise
answer to the wrong question. -- John Tukey as quoted by John Chambers
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help