"Qiang Li (Jonathan)" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> Hi friends on R list,
>
> Have people tried to implement a hashmap in R? What is the generic way to
> implement a lookup table in R?
Does this help?
> x <- rnorm(4)
> names(x) <- c("a", "b", "c", "d")
> x
Qiang Li (Jonathan yahoo.com> writes:
> Have people tried to implement a hashmap in R? What is the generic way to
implement a lookup table in R?
By default, this is implicit, for example, when using named vectors.
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/51507.html
and ?environment
Die
2 matches
Mail list logo