The Rmath library from R
C Other
Switch branches/tags
Nothing to show
Latest commit 6d8c2a3 Aug 4, 2017 @simonbyrne simonbyrne rename archive

README.md

Rmath-julia

AppVeyor Travis

This is a slightly modified version of the standalone Rmath library from R, built to be used with the Rmath.jl Julia package.

The main difference is that it is built to allow defining custom random number generating functions via C function pointers (see include/callback.h). When using the library, these should be defined before calling any of the random functions.

Build instructions

Rmath-julia requires GNU Make (https://www.gnu.org/software/make). Just run make to compile the library.

Updating

To update to the latest version of R, bump the RVERSION file, and run make update. Some additional manual changes to the headers may be necessary: these should go in include/Rconfig.h (this would typically be generated by autotools, but we try to simplify the build process).