Re: [R] Help with isolating and comparing data from two files.

2011-05-23 Thread ajn21
Jim, Thank you for your help! That is precisely what I was looking for. From your help I was able to edit the output and then print it to a txt file (because I didn't want to print it all in the R console due to the thousands of lines). R is a very powerful language, but it is rather difficult fo

Re: [R] Help with isolating and comparing data from two files.

2011-05-23 Thread jim holtman
Is this what you are after? > pos V1 V2 V3 V4 V5 V6 1 c22 1445 - CG 1 4 2 c22 1542 + CG 2 3 3 c22 1678 + CG 13 15 > reg V1 V2 V3 V4 V5 V6 V7 1 c22 1440 1500 cpg: 44 56 .. 2 c22 1520 1700 cpg: 56 87 .. 3 c22 1800 1900 cpg: 58 90 .. > # iterate through the 'reg'