The letter i can be replaced with any variable name, sequence can be elements or the position of these elements, and expression can be anything. Try the examples below:
for (a inc("Hello", "R", "Programmers")) {print(a)}
for (z in1:4) { a <-rnorm(n =1, mean =5*z, sd =2)print(a)}