[R] running R from PHP
mail at joeconway.com
Tue Feb 3 08:15:46 CET 2004
brook at biology.nmsu.edu wrote:
> Is there a trick to creating a graphics device in the absence of an
> actual display in order to create an image in a file?
Look for Xvfb (X virtual frame buffer). Not sure what OS you are
running, but on RH9 and Fedora, at least, there is a package called
I use Xvfb with the following command:
/usr/X11R6/bin/Xvfb :5 -screen 0 1024x768x16
More specifically I wrote an init script and set Xvfb up to start as a
service on boot.
Then in R I use:
More information about the R-help