[R] running R without X11

Laurence Darby ldarby at mips.com
Tue Nov 14 14:23:17 CET 2006


Prof Brian Ripley wrote:

> On Tue, 14 Nov 2006, Laurence Darby wrote:
> 
> >
> > Is there anyway to remove this dependency on X11?
> 
> Please read the help page.  R's png device uses X11 for its fonts.  You 
> need fonts from somewhere, and vanilla Unix systems don't come with any 
> other sets.  You can use ghostscript or libgdd or other resources for 
> other graphics devices.  I normally just use an Xvfb frame buffer (but, 
> hint, it defaults to 12bit and you want a 24bit screen).
> 


Thanks for your prompt answer, although getting gs to work the way I
want or setting up Xvfb, on top of learning R, is too many hoops to
jump through, much more than reproducing a small R script I have in
gnuplot.

Laurence



More information about the R-help mailing list