Nevermind i got it dre968 wrote: > > 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--tp23197504p23197518.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.