Passing user-supplied C++ functions with RcppXPtrUtils
Sitting on top of R’s external pointers, the RcppXPtr class provides a powerful and generic framework for Passing user-supplied C++ functions to a C++ backend. This technique is exploited in...continue reading.