h <- hash()
hash:::.set( h, keys=letters, values=1:26 )
hash:::.set( h, a="foo", b="bar", c="baz" )
hash:::.set( h, c( aa="foo", ab="bar", ac="baz" ) )
clear(h)
hash:::.set( h, letters, values )
Run the code above in your browser using DataLab