R For Loop.

For loop in R is used for iterating over a sequence of collection.

Example -

To Print numbers
for (number in numbers) { print(number) }