[R] Plotting to stdout
csardi at rmki.kfki.hu
Fri Aug 28 13:47:39 CEST 2009
On Fri, Aug 28, 2009 at 1:33 PM, Gabor
Grothendieck<ggrothendieck at gmail.com> wrote:
> I could have used this functionality in a previous project as well; however,
> for Oliver's application just pass the filename to the python program use that
> in the <img src=...> tag (or have the python program pass the filename to
> the R program).
> If there is some aspect of this problem that has not been explained that
> truly does make passing the graphic file contents to the python
> program desirable
> then have R write out the graphic file and then have R read it back in.
Unfortunately, this is not always a good solution. For example, I am
running Rserve with connections from untrusted users. The Rserve
process is not allowed to write to the disk at all, but then there is
no easy way to create plots.
The patch Romain mentioned above looks like a good solution.
Gabor Csardi <Gabor.Csardi at unil.ch> UNIL DGM
More information about the R-help