farmhash {RcppFarmHash} | R Documentation |
Compute a 'FarmHash' digest for a vector of strings
Description
Compute a 'FarmHash' digest for a vector of strings
Usage
farmhash(sv)
Arguments
sv |
Vector of strings for which a hash digest is requested |
Value
A vector of integer64
values (using the bit64
package to ‘decode’ the appropriate binary payload from a numeric
vector).
Examples
if (requireNamespace("bit64", quietly=TRUE)) {
suppressMessages(library(bit64))
}
farmhash(c("foo", "bar", "baz"))
[Package RcppFarmHash version 0.0.3 Index]