Package: hash 2.2.6.4
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.4.tar.gz
hash_2.2.6.4.zip(r-4.7)hash_2.2.6.4.zip(r-4.6)hash_2.2.6.4.zip(r-4.5)
hash_2.2.6.4.tgz(r-4.6-any)hash_2.2.6.4.tgz(r-4.5-any)
hash_2.2.6.4.tar.gz(r-4.7-any)hash_2.2.6.4.tar.gz(r-4.6-any)
hash_2.2.6.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:3a9b1d06cc. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 116 | ||
| source / vignettes | OK | 143 | ||
| linux-release-x86_64 | OK | 104 | ||
| macos-release-arm64 | OK | 68 | ||
| macos-oldrel-arm64 | OK | 82 | ||
| windows-devel | OK | 65 | ||
| windows-release | OK | 114 | ||
| windows-oldrel | OK | 65 | ||
| wasm-release | OK | 85 |
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 |
