Hello,

I'm trying to run R from a webserver, which doesn't have an X server,
and produce pngs to go on a webpage, is this possible?  

I'm doing it in gnuplot with

gnuplot> set term png 
gnuplot> set output 


With $DISPLAY unset, I get the following error from R:

> png()
Error in X11(paste("png::", filename, sep = ""), width, height,
pointsize,  : unable to start device PNG
In addition: Warning message:
unable to open connection to X11 display '' 

Is there anyway to remove this dependency on X11?

Thanks,
Laurence

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to