PAPI bindings for R