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 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
>
> --
> View this message in context: 
> http://www.nabble.com/combning-rows-tp19316079p19316079.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to