hash-class {hash} | R Documentation |
Implements a S4 hash class in R similar to hashes / associatesd arrays /
dictionaries in languages. As much as possible these constructs have
been given an R type interface. As much as possible, hash objects are
made to emulate a native data structure like data.frames. Accessors
are defined for \$
, [
and [[
.
env
:"environment"
. This is the hashed environment
used for key-value storage. None by design.
signature(x = "hash", i = "ANY", j = "missing")
: ... signature(x = "hash", i = "ANY", j = "missing", drop = "missing")
: ... signature(x = "hash", i = "ANY", j = "missing")
: ... signature(x = "hash", i = "ANY", j = "missing")
: ... signature(x = "hash")
: ... signature(x = "hash")
: ... signature(x = "hash")
: ... signature(x = "ANY", hash = "hash")
: ... signature(key = "ANY", hash = "hash")
: ... signature(hash = "hash")
: ... signature(x = "hash")
: ... signature(x = "hash")
: ...
Objects of class hash
do not release memory with a call to
rm
. clear
must be called before rm
to properly
release the memory.
Christopher Brown
See also as environment
.
showClass("hash")