Header-only C++ and R interface
