Google BigQuery uses FarmHash in itsFARM_FINGERPRINTfunction. By using the same underlyingFarmHash library, thispackage allows R users to compute the same hash digest fingerprints.
>suppressMessages({library(RcppFarmHash);library(bit64) })>farmhash(c("foo","bar","baz"))integer64[1]6150913649986995171-987781290857279773758908700204700005>The package can be installed from CRAN via the usual command
install.packages("RcppFarmHash")or, alternatively, also directly from the source repository:
remotes::install_github("eddelbuettel/rcppfarmhash")This package is licensed under the GNU GPL, Version 2 or later.
FarmHash is licensed under the MIT license.
For the R package,DirkEddelbuettel.
For everything pertaining toFarmHash, Geoff Pike andcontributors.
Initially created: Mon Jul 26 17:26:12 PM CDT 2021
Last modified: Sun May 26 10:12:05 CDT 2024