R - Next

About

Next skip an iteration of a loop

Syntax

next

Example

for (i in 1:10) {
   if (i>3) next # Skip all the iteration above 3
   print ("Hello World")
}
[1] "Hello World"
[1] "Hello World"
[1] "Hello World"

Powered by ComboStrap