Skip to content

combning rows

2 messages · kayj, jim holtman

#
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
create .  Can I do this using R. I appreciate your help.

Thanks
#
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 <kjaja27 at yahoo.com> wrote: