[R] graphics

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Dec 1 19:41:07 CET 1999


Jim Lindsey <jlindsey at alpha.luc.ac.be> writes:

> Is there a strong reason why a call to par with no device active must
> open a window? If this 'feature' can easily be removed, then I would
> be satisfied as I could then put my default par settings in Rprofile
> without a window opening at startup. Of course, the above is a far
> better idea but perhaps more difficult to implement.

I'm sure it can be worked around, but the issue is that the par()
settings must go to a device, so if none is open, we open the default
one, by the default method, which opens the window. The obvious fix,
not to open the window until something is actually drawn would have
the consequence of making a direct X11() call an apparent no-op... And
some of the things that par() can do involves requests to the window
system about the plotting window, I suspect.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list