Re: [R] plotting to stdout

2007-09-07 Thread Duncan Murdoch
On 9/7/2007 12:36 PM, Gene Selkov wrote: I have found two prior instances of this question in R-help, but I can't find the answer, and I'm giving up on mindless tinkering. http://tolstoy.newcastle.edu.au/R/help/03a/5994.html

[R] plotting to stdout

2007-09-07 Thread Gene Selkov
I have found two prior instances of this question in R-help, but I can't find the answer, and I'm giving up on mindless tinkering. http://tolstoy.newcastle.edu.au/R/help/03a/5994.html https://stat.ethz.ch/pipermail/r-help/2004-December/062259.html I must be able to pipe the poltting

Re: [R] plotting to stdout

2007-09-07 Thread Gene Selkov
Thanks a ton, Duncan! So I have verified that this line works: echo postscript(file=\\, command=\cat\); plot(0) | r --vanilla --slave Wonderful! (albeit a little unobvious) --Gene On Fri, 7 Sep 2007, Duncan Murdoch wrote: On 9/7/2007 12:36 PM, Gene Selkov wrote: I have found two prior

Re: [R] plotting to stdout

2007-09-07 Thread Duncan Murdoch
On 9/7/2007 2:15 PM, Gene Selkov wrote: Thanks a ton, Duncan! So I have verified that this line works: echo postscript(file=\\, command=\cat\); plot(0) | r --vanilla --slave Wonderful! (albeit a little unobvious) I would include an explicit dev.off() after the plotting; I'm not

Re: [R] plotting to stdout

2007-09-07 Thread Dirk Eddelbuettel
On Fri, Sep 07, 2007 at 02:27:00PM -0400, Duncan Murdoch wrote: On 9/7/2007 2:15 PM, Gene Selkov wrote: Thanks a ton, Duncan! So I have verified that this line works: echo postscript(file=\\, command=\cat\); plot(0) | r --vanilla --slave Wonderful! (albeit a little