Default device instead of ``No graphics device is active''

Peter Dalgaard BSA
12 Jan 1998 18:02:12 +0100

Martin Maechler <> writes:

> Couldn't we startup a default device instead of having the error message?

Very good idea!

> The Default device would be
> 	Unix, interactive:	x11

or: "none" (or "printer"???) if DISPLAY not set, or maybe customizable
(sometimes you really don't want it, e.g. when connected to Auckland
from Europe...)

>   .First <- function() if(interactive()) default.device()

Actually, it might be a better idea to use this to *get rid* of the
initial graphics startup. I, for one, tend to get annoyed at seeing
the window popup, even when what I am trying to do has nothing to do
with graphics. Having to place it manually doesn't help...

While we're at this, how about making it possible to override the
printer and device orientation in print.plot() and save.plot()?

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (             FAX: (+45) 35327907

r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: