Skip to content
Prev 155033 / 398506 Next

combning rows

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