sounds <- c("cat"="meow", "dog"="woof") sounds["horse"] <- "neigh" sounds["cow"] <- "moo" print(sounds)
Rscript dict.R cat dog horse cow "meow" "woof" "neigh" "moo"