[R] pipes in R

Ott Toomet siim at obs.ee
Sat Oct 5 17:36:10 CEST 2002


Hola,

On Fri, 4 Oct 2002, juan pablo perez wrote:

  |Hello!
  |itŽs possible to build pipes in R?
  |
  |e.g. something like this
  |
  |boxplot(aaa$bbb)|dev.print(postscript)

Unfortunately, I do not know about pipes as you mentioned.  But you may use
pipes in filenames as

plot(...)
dev.copy2eps(file="|lpr -Pfoo")

or something like that.  Be aware that using a wrong (nonexistent) command with pipe
kills R 1.5.1 (I suppose not 1.6.0).

Ott


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list