> From: Devon McCormick
> I, too, have had trouble with "amend". My experience with "cut", on
> the
> other hand, argues against your thesis. Once you get used to the
> arbitrary
> nature of the numeric parameters, what could be more nicely simple than
> <;._2 fread 'textfile.txt'
> to read in a file as boxed lines? Even better, for tabular data, say a
> tab-delimited file,
> <;._1 TAB,&.><;._2 CR-.~fread 'tabDelimitedTable.tsv'
> gives me the table I want, all in one simple line.
Yes but dyadic cut takes a bit more getting your head around!!
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm