RosettaCodeData/Task/Associative-array-Creation/R/associative-array-creation-6.r

3 lines
45 B
R

> x <- c(hello=1, world=2, "!"=3)
> print(x)