From thomas@biostat.washington.edu  Sat Aug 23 20:07:04 1997
From: thomas@biostat.washington.edu (Thomas Lumley)
Date: Sat, 23 Aug 1997 12:07:04 -0700 (PDT)
Subject: R-alpha: plots and batch mode
In-Reply-To: <x2zpqbduf5.fsf@bush.kubism.ku.dk>
Message-ID: <Pine.LNX.3.96.970823120250.1852A-100000@buffy>


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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: plots and batch mode
Thomas Lumley