if(cond) expr
if(cond) cons.expr else alt.exprR: Control Flow
> for(i in 1:10) { + print(i) + if(2<i) break + } [1] 1 [1] 2 [1] 3
switch(EXPR, ...)R: Select One of a List of Alternatives
for(var in seq) expr
> for(i in 1:3) print(i) [1] 1 [1] 2 [1] 3
> for(i in c("a","b")) print(i) [1] "a" [1] "b"
break
next
while(cond) expr
repeat expr