From: Maciej.Hoffman-Wecker@evotecoai.com
Date: Thu 12 Jul 2001 - 03:22:54 EST
Message-id: <OF0221FAD2.46BC23A2-ONC1256A86.005E1F7F@evotec.de>
I think the easist way is to use awk. you can even do it from within R by
"system" (I think).
With
awk "BEGIN{FS=\"\t\";OFS=\"\t\"} {print \$3, \$8}" datafile >
tmp_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).
Czes'c'
Maciej
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:19 EST