Re: [R] Plotting to stdout

2009-08-28 Thread Oliver Bandel
Philipp Pagel p.pagel at wzw.tum.de writes: On Wed, Aug 26, 2009 at 07:53:57PM +, Oliver Bandel wrote: is there a way to write the result of a plot to stdout? I mean even a binary thingy like a png-file, written to stdout?! I tried with the file-argument of png() and jpeg(),

Re: [R] Plotting to stdout

2009-08-28 Thread Gábor Csárdi
On Fri, Aug 28, 2009 at 1:06 PM, Oliver Bandeloli...@first.in-berlin.de wrote: [...] The goal was to produce a picture in a web-environment. At the moment rpy2 will be used maybe there are way to achieve something like that in this way, but I'm also new to rpy2. When the graphic could be

Re: [R] Plotting to stdout

2009-08-28 Thread Romain Francois
On 08/28/2009 01:16 PM, Gábor Csárdi wrote: On Fri, Aug 28, 2009 at 1:06 PM, Oliver Bandeloli...@first.in-berlin.de wrote: [...] The goal was to produce a picture in a web-environment. At the moment rpy2 will be used maybe there are way to achieve something like that in this way, but

Re: [R] Plotting to stdout

2009-08-28 Thread Gabor Grothendieck
On Fri, Aug 28, 2009 at 7:16 AM, Gábor Csárdicsa...@rmki.kfki.hu wrote: On Fri, Aug 28, 2009 at 1:06 PM, Oliver Bandeloli...@first.in-berlin.de wrote: [...] The goal was to produce a picture in a web-environment. At the moment rpy2 will be used maybe there are way to achieve something

Re: [R] Plotting to stdout

2009-08-28 Thread Gábor Csárdi
On Fri, Aug 28, 2009 at 1:33 PM, Gabor Grothendieckggrothendi...@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

Re: [R] Plotting to stdout

2009-08-28 Thread Romain Francois
On 08/28/2009 01:47 PM, Gábor Csárdi wrote: On Fri, Aug 28, 2009 at 1:33 PM, Gabor Grothendieckggrothendi...@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

Re: [R] Plotting to stdout

2009-08-28 Thread Jeffrey Horner
Gábor Csárdi wrote: On Fri, Aug 28, 2009 at 1:33 PM, Gabor Grothendieckggrothendi...@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

Re: [R] Plotting to stdout

2009-08-27 Thread Philipp Pagel
On Wed, Aug 26, 2009 at 07:53:57PM +, Oliver Bandel wrote: is there a way to write the result of a plot to stdout? I mean even a binary thingy like a png-file, written to stdout?! I tried with the file-argument of png() and jpeg(), but did not get working results. I don't think you can

Re: [R] plotting to stdout (while reading from stdin?)

2008-03-02 Thread Gene Selkov
Hi Dirk, I didn't at first pay attention to your comment about littler, as my original problem of plotting to stdout was solved. But it was just part of the larger problem: I actually need to be piping the data with the code for making the picture in, and getting the picture out without

Re: [R] plotting to stdout (while reading from stdin?)

2008-03-02 Thread Gene Selkov
On Sun, 2 Mar 2008, Gabor Grothendieck wrote: You can do this: Lines - A,B 1,2 3,4 DF - read.csv(textConnection(Lines)) which is slightly simpler than the examples there. Thank you Gabor, I made it even simpler by replacing the Lines object with a string contstant. It works