[R] generating graphical output when DISPLAY is not set?
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Tue Apr 30 23:32:38 CEST 2002
Simon Cawley <simon_cawley at affymetrix.com> writes:
> I want to have a process running on a server call R to generate graphical
> output, and the problem is that I'm not guaranteed to have a valid
> DISPLAY set. I have some clumsy workarounds, but it would be cleaner if
> if I had some way to have R not require the DISPLAY.
The png() driver takes its fonts from the X server pointed to by
DISPLAY, so no-go. However:
If you have ghostscript, you can use the bitmap() driver. (This *is*
on the help page for png()!)
--
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