[R] piped output in scan?
tlumley at u.washington.edu
Mon May 28 20:46:08 CEST 2001
On Mon, 28 May 2001, Peter Whiting wrote:
> is there some way to execute a command and have the output piped to
> the scan command?
> In gnuplot I might do something like: plot "<zcat data.gz|grep 9"
> I would like to do something similar in R:
> x<-scan(filename="<zcat data.gz|grep 9")
Look at the examples in help(file), which seem to be similar to what you
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