[R] Calling R from a non-X shell script to plot?

Seth Falcon sfalcon at fhcrc.org
Mon Dec 13 20:34:35 CET 2004


On Mon, Dec 13, 2004 at 12:25:01PM -0500, doktora v wrote:
> Is anyone familiar with this (i.e. running R from a non-X
> environment)? Is there  a way to get around this? I've seen some stuff
> about virtual devices,  but have no idea if it works or where to
> start. If there is a simpler solution, please let me know.

I've used Xvfb in this situation.  After installing Xvfb, you can do
something like this:

Xvfb :15&
export DISPLAY=localhost:15
# Run R 

+ seth




More information about the R-help mailing list