Expand description
Provide limited protection for multithreaded access to the R API.
Constantsยง
- THREAD_
HAS_ ๐LOCK
Staticsยง
- R_
API_ ๐LOCK - A global lock, that should represent the global lock on the R-API. It is not tied to an actual instance of R.
- R_
ERROR_ ๐BUF
Functionsยง
- catch_
r_ error - Wrap an R function such as
Rf_findFunction
and convert errors and panics into results. - single_
threaded - Run
f
while ensuring thatf
runs in a single-threaded manner. - throw_
r_ error