Package: hash 2.2.6.3

hash: Full Featured Implementation of Hash Tables/Associative Arrays/Dictionaries

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.

Authors:Christopher Brown [aut], John Hughes [cre, ctb]

hash_2.2.6.3.tar.gz
hash_2.2.6.3.zip(r-4.5)hash_2.2.6.3.zip(r-4.4)hash_2.2.6.3.zip(r-4.3)
hash_2.2.6.3.tgz(r-4.4-any)hash_2.2.6.3.tgz(r-4.3-any)
hash_2.2.6.3.tar.gz(r-4.5-noble)hash_2.2.6.3.tar.gz(r-4.4-noble)
hash_2.2.6.3.tgz(r-4.4-emscripten)hash_2.2.6.3.tgz(r-4.3-emscripten)
hash.pdf |hash.html
hash/json (API)

# Install 'hash' in R:
install.packages('hash', repos = c('https://drjphughesjr.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

7.91 score 1 stars 50 packages 3.9k scripts 14k downloads 11 mentions 18 exports 0 dependencies

Last updated 1 years agofrom:4ed88e0879. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 11 2024
R-4.5-winOKNov 11 2024
R-4.5-linuxOKNov 11 2024
R-4.4-winOKNov 11 2024
R-4.4-macOKNov 11 2024
R-4.3-winOKNov 11 2024
R-4.3-macOKNov 11 2024

Exports:.setas.list.hashclearcopydeldeleteformathas.keyhashinvertinverted.hashis.emptyis.hashkeysmake.keysnames.hashvaluesvalues<-

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
Hash/associative array/dictionary data structure for the R language.hash-package
assign key-value pair(s) to a hash.set
Removes all key-value pairs from a hashclear clear,hash-method clear-methods
Create a seperate copy of a hash object.copy copy,hash-method copy-methods
Remove key-value pair(s) from a hashdel del,ANY,hash-method del-methods delete delete,ANY,hash-method delete-methods
Methods for Function format in Package 'hash'format format,hash-method
Test for existence of key(s) on a hashhas.key has.key,ANY,hash-method has.key-methods
hash/associative array/dictionary data structure for the R languageas.list.hash hash is.hash
Accessor methods for the hash class.$,hash-method $<-,hash,ANY,ANY-method $<-,hash,ANY,NULL-method $<-,hash,ANY-method $<-,hash,missing,NULL-method $<-,hash,NULL-method $<-,hash-method hash-accessors [,hash,ANY,missing,missing-method [,hash,missing,missing,missing-method [<-,hash,ANY,missing,ANY-method [<-,hash,ANY,missing,NULL-method [<-,hash,ANY,missing-method [[,hash,ANY,missing-method [[<-,hash,ANY,missing,ANY-method [[<-,hash,ANY,missing,NULL-method [[<-,hash,ANY,missing-method
Class "hash"hash-class
Create an inverted hash.invert invert,hash-method invert-methods inverted.hash
Test if a hash has no key-value pairs.is.empty
Returns key(s) from a hashkeys keys,hash-method keys-methods names names.hash
Returns the number of items in a hashlength length,hash-method length-methods
creates/coerces objects to proper hash keysmake.keys
Extract values of a hash object.values values,hash-method values-methods values<- values<-,hash,ANY-method values<-,hash-method values<--methods