Module extendr_api::thread_safety
source · Expand description
Provide limited protection for multithreaded access to the R API.
Functions
- Wrap an R function such as Rf_findFunction and convert errors and panics into results.
- Run a function single threaded. Note: This will fail badly if the called function panics or calls RF_error.