[R] running R from PHP

Christian Schulz ozric at web.de
Wed Feb 4 15:38:39 CET 2004

Perhaps this is a interesting starting point for you?



Am Dienstag, 3. Februar 2004 03:26 schrieb brook at biology.nmsu.edu:
> I would like to construct a PHP script that runs R to generate a
> graphics file.  Running R itself is no problem.  However, it seems
> impossible to instantiate one of the graphics devices to create
> output.  For example, the "normal" bitmap devices (e.g., jpeg, png,
> etc.) are derived from X11, which requires a display.  This seems
> true, even if no output is ever directed to a real display.  For some
> reason, the postscript device seems to suffer from similar problems.
> 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?
> Thanks for your help.
> Cheers,
> Brook
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list