search for: tp4348340p4348490

Displaying 1 result from an estimated 1 matches for "tp4348340p4348490".

Did you mean: tp4348340p4348340
2012 Feb 01
6
While loop working with TRUE/FALSE?
Hi R users, is there any possibilty that a while loop is working like that: z <- c(0,1,2,3,4,5,6,7,8,9) r <- 7 while(w == T) { for ( i in 1:10 ){ w <- r == z[i] print(w) } } The loop should stop if w == TRUE best regards -- View this message in context: