Re: [R] combning rows

2008-09-04 Thread jim holtman
Read your data in, parse off the ID, split the records (using 'split') and then combine the like values. Since you did not read the posting guide, it is hard to give explicit help. On Thu, Sep 4, 2008 at 1:42 PM, kayj <[EMAIL PROTECTED]> wrote: > > I do have a txt file where each row is a recor

[R] combning rows

2008-09-04 Thread kayj
I do have a txt file where each row is a record and the first element of each record is an id for an individual. I am looking into combing the records into one row if the id is the same and save as a txt file. Notice that the rows may not have the same length in the result file that I want to cre