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 Grothendieck 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 tag (or have the python program pass the fil

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 Grothendieck 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 tag (or have the pyt

Re: [R] Plotting to stdout

2009-08-28 Thread Gábor Csárdi
On Fri, Aug 28, 2009 at 1:33 PM, Gabor Grothendieck 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 tag (or have the python program pass the filename to > the R p

Re: [R] Plotting to stdout

2009-08-28 Thread Gabor Grothendieck
On Fri, Aug 28, 2009 at 7:16 AM, Gábor Csárdi wrote: > On Fri, Aug 28, 2009 at 1:06 PM, Oliver Bandel > 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 als

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 Bandel 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

Re: [R] Plotting to stdout

2009-08-28 Thread Gábor Csárdi
On Fri, Aug 28, 2009 at 1:06 PM, Oliver Bandel 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 written to stdout,

Re: [R] Plotting to stdout

2009-08-28 Thread Oliver Bandel
Philipp Pagel 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-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 yo

[R] Plotting to stdout

2009-08-26 Thread Oliver Bandel
Hello, 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. Ciao, Oliver __ R-help@r-project.or

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 wor

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

2008-03-02 Thread Gabor Grothendieck
You can do this: Lines <- "A,B 1,2 3,4" DF <- read.csv(textConnection(Lines)) which is slightly simpler than the examples there. On Sun, Mar 2, 2008 at 5:59 PM, Gene Selkov <[EMAIL PROTECTED]> wrote: > Hi Dirk, > > I didn't at first pay attention to your comment about littler, as my > original

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 opening