c('a' := '4', 'b' := '5')
# equivalent to: c(a = '4', b = '5')
c('a', 'b') := c('1', '2')
# equivalent to: c(a = '1', b = '2')
# the important example
name <- 'a'
name := '5'
# equivalent to: c('a' = '5')
Run the code above in your browser using DataLab