hash: Full feature implementation of hash/associated arrays/dictionaries

Share:

This package implements a data structure similar to hashes in Perl and dictionaries in Python but with a purposefully R flavor. For objects of appreciable size, access using hashes outperforms native named lists and vectors.

Author
Christopher Brown
Date of publication
2013-02-21 07:52:57
Maintainer
Christopher Brown <chris.brown@decisionpatterns.com>
License
GPL (>= 2)
Version
2.2.6

View on CRAN

Man pages

clear
Removes all key-value pairs from a hash
copy
Create a seperate copy of a hash object.
del
Remove key-value pair(s) from a hash
format
Methods for Function format in Package 'hash'
hash
hash/associative array/dictionary data structure for the R...
hash-accessors
Accessor methods for the hash class.
hash-class
Class "hash"
hash-package
Hash/associative array/dictionary data structure for the R...
has-key
Test for existence of key(s) on a hash
invert
Create an inverted hash.
is.empty
Test if a hash has no key-value pairs.
keys
Returns key(s) from a hash
length
Returns the number of items in a hash
make.keys
creates/coerces objects to proper hash keys
set
assign key-value pair(s) to a hash
values
Extract values of a hash object.

Files in this package

hash
hash/TODO
hash/tests
hash/tests/clear.R
hash/tests/accessors.R
hash/tests/has.key.R
hash/tests/set.R
hash/NAMESPACE
hash/demo
hash/demo/00Index
hash/demo/hash-benchmarks.R
hash/NEWS
hash/R
hash/R/invert.R
hash/R/clear.R
hash/R/keys.R
hash/R/has-key.R
hash/R/copy.R
hash/R/values.R
hash/R/show.R
hash/R/format.R
hash/R/Class-hash.R
hash/R/length.R
hash/R/make-keys.R
hash/R/hash.R
hash/R/del.R
hash/R/set.R
hash/R/zzz.R
hash/dev
hash/dev/hash.actions.Rd.off
hash/dev/hash.actions.R.off
hash/MD5
hash/README
hash/DESCRIPTION
hash/man
hash/man/hash.Rd
hash/man/set.Rd
hash/man/hash-accessors.Rd
hash/man/has-key.Rd
hash/man/keys.Rd
hash/man/values.Rd
hash/man/copy.Rd
hash/man/hash-class.Rd
hash/man/length.Rd
hash/man/format.Rd
hash/man/del.Rd
hash/man/clear.Rd
hash/man/invert.Rd
hash/man/make.keys.Rd
hash/man/is.empty.Rd
hash/man/hash-package.Rd
hash/LICENSE