Für Schleife im R -Wörterbuch

sounds <- c(
    "cat"="meow",
    "dog"="woof",
    "horse"="neigh"
)

for (thing in sounds){
    print(thing)
}
Asir In Tisar