[R] running R without X11

Laurence Darby ldarby at mips.com
Tue Nov 14 11:49:12 CET 2006



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



More information about the R-help mailing list