Run »
fruits <- list("apple", "banana", "cherry") for (x in fruits) { print(x) }
[1] "apple"
[1] "banana"
[1] "cherry"