Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Common Lisp wrapper for libRmath.
Common Lisp
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

A simple wrapper for libRmath

This is a simple, autogenerated foreign interface for the standalone R API <a href=””>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.

The 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

as root.

The function names are preserved as they are. Packages should not use the cl-rmath package, but refer to symbols using the cl-rmath or rmath package qualifiers (in fact, fround is in both cl and 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 make when Rmath.h changes.

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.

Something went wrong with that request. Please try again.