[R] Re:

Maciej.Hoffman-Wecker@evotecoai.com Maciej.Hoffman-Wecker at evotecoai.com
Wed Jul 11 19:22:54 CEST 2001

I think the easist way is to use awk. you can even do it from within R by
"system" (I think).

      awk "BEGIN{FS=\"\t\";OFS=\"\t\"} {print \$3, \$8}" datafile >

you extract columns 3 and 84 from a tab-separated file "datafile" and write
to "tmp_datafile".
If you are on windows you can use awk95 (from somewhere in web-space).


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