Hi, I was trying to use hash, but can't seem to get the keys from the hash. According to the hash documentation ('hash' package pdf, the following should work:
> hx <- hash( c('a','b','c'), 1:3 ) > class(hx) [1] "hash" attr(,"package") [1] "hash" > hx$a [1] 1 > keys(hx) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘keys’ for signature ‘"hash"’ How can I get the keys for my hash? thanks! [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.