https://github.com/eddelbuettel/rcppfarmhash
Rcpp Interface to Google FarmHash
https://github.com/eddelbuettel/rcppfarmhash
cran farmhash r r-package
Last synced: about 2 months ago
JSON representation
Rcpp Interface to Google FarmHash
- Host: GitHub
- URL: https://github.com/eddelbuettel/rcppfarmhash
- Owner: eddelbuettel
- Created: 2021-07-22T13:34:09.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-13T22:15:14.000Z (about 1 year ago)
- Last Synced: 2025-02-01T21:05:27.098Z (8 months ago)
- Topics: cran, farmhash, r, r-package
- Language: C++
- Homepage:
- Size: 110 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
Awesome Lists containing this project
README
## Rcpp Interface to the Google FarmHash Family of Hash Functions
[](https://github.com/eddelbuettel/rcppspdlog/actions/workflows/ci.yaml)
[](https://www.gnu.org/licenses/gpl-2.0.html)
[](https://cran.r-project.org/package=RcppFarmHash)
[](https://cran.r-project.org/package=RcppFarmHash)
[](https://www.r-pkg.org/pkg/RcppFarmHash)
[](https://github.com/eddelbuettel/rcppfarmhash)### Motivation
Google BigQuery uses FarmHash in its `FARM_FINGERPRINT` function. By using the same
underlying [FarmHash](https://github.com/google/farmhash) library, this package allows R
users to compute the same hash digest fingerprints.### Example
```r
> suppressMessages({ library(RcppFarmHash); library(bit64) })
> farmhash(c("foo", "bar", "baz"))
integer64
[1] 6150913649986995171 -98778129085727977 3758908700204700005
>
```### Installation
The package can be installed from CRAN via the usual command
```r
install.packages("RcppFarmHash")
```or, alternatively, also directly from the source repository:
```r
remotes::install_github("eddelbuettel/rcppfarmhash")
```### License
This package is licensed under the GNU GPL, Version 2 or later.
FarmHash is licensed under the MIT license.
### Author
For the R package, [Dirk Eddelbuettel](https://github.com/eddelbuettel).
For everything pertaining to `FarmHash`, Geoff Pike and [contributors](https://github.com/google/farmhash/graphs/contributors).