Skip to content
Prev 283903 / 398502 Next

While loop working with TRUE/FALSE?

Le mercredi 01 f?vrier 2012 ? 07:55 -0800, Chris82 a ?crit :
What problem are you trying to solve? In R, loops should generally be
avoided, and you have much simpler syntax for most cases.
Your while loop stops when w == FALSE here. Anyway, it won't run since w
isn't set the first time the condition is tested. And I really don't see
why you have two embedded loops here.


Cheers