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:
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')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 1 years agofrom:4ed88e0879. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 11 2024 |
R-4.5-win | OK | Nov 11 2024 |
R-4.5-linux | OK | Nov 11 2024 |
R-4.4-win | OK | Nov 11 2024 |
R-4.4-mac | OK | Nov 11 2024 |
R-4.3-win | OK | Nov 11 2024 |
R-4.3-mac | OK | Nov 11 2024 |
Exports:.setas.list.hashclearcopydeldeleteformathas.keyhashinvertinverted.hashis.emptyis.hashkeysmake.keysnames.hashvaluesvalues<-
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
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 hash | clear 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 hash | del 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 hash | has.key has.key,ANY,hash-method has.key-methods |
hash/associative array/dictionary data structure for the R language | as.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 hash | keys keys,hash-method keys-methods names names.hash |
Returns the number of items in a hash | length length,hash-method length-methods |
creates/coerces objects to proper hash keys | make.keys |
Extract values of a hash object. | values values,hash-method values-methods values<- values<-,hash,ANY-method values<-,hash-method values<--methods |