#rstats #rcpp can’t find an R package for FarmHash. An experiment: I’d pay $200 USD for someone to do the Rcpp wrapper and a blog post/twitch/whatever on ‘here’s how to take a smallish C++ lib and make it R with low drama’ using this test case. Repo at github.com/google/farmhash
2
1
1
Call Rcpp.package.skeleton("RcppFarmHash")
Copy farmhash.{h,cc} into its src/ dir.
Build it.
Almost done: add more interface functions.
> RcppFarmHash::farmhash("The quick brown fox")
[1] 1.79294e+19
>
github.com/eddelbuettel/rcpp…
#rcpp #rstats
Jul 22, 2021 · 1:36 PM UTC
1
1
2

