[R] PNG diver problem
Peter Dalgaard BSA
p.dalgaard at biostat.ku.dk
Wed Nov 28 22:26:37 CET 2001
apjaworski at mmm.com writes:
> I got a couple of answers already indicating that this is a known
> "problem". Thanks to everyone who responded and apologies for reposting a
> known problem. I must have missed the last post about this - I searched
> the mailing list archive and found it about a year ago. Apparently, one of
> the solutions is to use the bitmap driver which produces the PNG files by
> default anyway.
> I noticed that the png help page mentions that it depends on the x11
> device. It just was not clear to me that one cannot use x11 in batch mode.
> Finally, I am still curious why this thing works under Windows. Was the
> png driver rewritten for it? Does it still depend on the windows device
> but it can be invoked in batch mode?
I think it works in Linux too if you explicitly set you DISPLAY
variable (w/ Sys.putenv()), provided that the display is active and
you have the permissions to access it when the code runs. Windows has
no such thing and will not let you do anything without having the
display open anyway...
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