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