A simple wrapper for libRmath
This is a simple, autogenerated foreign interface for the standalone R API <a href=” http://cran.r-project.org/doc/manuals/R-exts.html#The-R-API”>libRmath. There has been no effort to provide a high-level interface for the original library, instead, this library is meant to serve as a building block for such an interface.
libRmath shared library has to be installed for this library to work. For example, on Debian/Ubuntu/…, you just need to
apt-get install r-mathlib
The function names are preserved as they are. Packages should not use the
cl-rmath package, but refer to symbols using the
rmath package qualifiers (in fact,
fround is in both
cl-rmath, so using the package would require shadowing).
Functions using random number generators are not expected to work out of the box.
It is only necessary to run
Bugs and issues should be reported using the Github issue tracker.
The most useful source of documentation is Writing R Extensions, in particular some sections in Numerical analysis subroutines. Note however that only a small subset of the functions documented on that page are part of the standalone library.