SyntaxFix
Write A Post
Hire A Developer
Questions
for(n in 1:5) { if(n==3) next # skip 3rd iteration and go to next iteration cat(n) }