[R-sig-Geo] R from cgi and Xvfb

G. Allegri giohappy at gmail.com
Wed Jan 16 17:02:57 CET 2008


GDD... I had troubles compiling thi package, and I can't solve it. It
tries to create some objects it cannot, but headers and dependencies
semm allright.
I try again

2008/1/16, Don MacQueen <macq at llnl.gov>:
> Have you looked into the GDD package?
>
> -Don
>
> At 11:04 AM +0100 1/16/08, G. Allegri wrote:
> >Hi everyone.
> >I'm sorry for the question maybe OT.
> >I'm trying to use R and Python to run some scripts via web interface.
> >I've successfully setup mod_python for Apache and the rpy module.
> >R needs X11 to use png() and jpeg() devices, so I have installed Xvfb
> >(X virtual framebuffer). I works correctly: if I set the DISPLAY
> >variable to point to this X server, rpy can create png files correctly
> >from command-line, but it doesn't work when the python script is run
> >from web browser.
> >I restarted Apache after setting the DISPLAY variable, but the
> >Traceback gives me always the same error, about being not able to open
> >the X11 device?
> >
> >Does anyone have made it work right?
> >How can tell Apache to run R script and forwarding X requests to my Xvfb.
> >
> >Thanks,
> >Giovanni
> >
> >_______________________________________________
> >R-sig-Geo mailing list
> >R-sig-Geo at stat.math.ethz.ch
> >https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>
>
> --
> --------------------------------------
> Don MacQueen
> Environmental Protection Department
> Lawrence Livermore National Laboratory
> Livermore, CA, USA
> 925-423-1062
> --------------------------------------
>




More information about the R-sig-Geo mailing list