[R] simple for loop question - how do you exit?

dre968 alyalko at gmail.com
Thu Apr 23 20:29:03 CEST 2009


I have a loop and an if statement in the loop.  once the if statement is true
for 1 value in the loop i'd like to exit the loop.  is there a command to do
this?  i know its going to be something like exit and i feel stupid asking
this question
-- 
View this message in context: http://www.nabble.com/simple-for-loop-question---how-do-you-exit--tp23197504p23197504.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list