R-alpha: plots and batch mode

Thomas Lumley thomas@biostat.washington.edu
Sat, 23 Aug 1997 12:07:04 -0700 (PDT)


You can always define a dummy graphics driver for batch mode by

dummy.driver<-function() postscript(file="/dev/null")

which will actually do all the calculations needed (and so catch errors)
but won't produce anything.  Then you can edit the Rprofile so that
dummy.driver() is started if you aren't running interactively.  

I don't know if something similar can be done for Mac/Win.

	-thomas

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-devel 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-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-