Help with a Loop

As a rule of thumb, one should avoid loops in R. Perhaps if you gave a little more information on what it is you are trying to accomplish, we could help you find a more R-ish way :slightly_smiling_face:

More information on how to get help, can be found here