[Rd] Problem with R math library.

From: Guillaume Yziquel <guillaume.yziquel_at_citycable.ch>
Date: Thu, 28 Jan 2010 12:38:29 +0100


I've been working on my OCaml-R binding, and I quite pleased to see that it is functional, though far from being perfect or polished. You can find the gitweb webpage and the interface documentation at


I'm having unexpected trouble with the math library, though. The interface documentation is here:


For instance, for the norm_rand symbol, I have the following documentation comment:

> val norm_rand : unit -> float
> Random variates from the standard normal distribution. Bug: currently systematically returns -8.77332116900134373.

Any idea as to why the function systematically returns the same value? Is there a way the math library should be initialised?

All the best,

      Guillaume Yziquel

R-devel_at_r-project.org mailing list
Received on Thu 28 Jan 2010 - 11:41:11 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 28 Jan 2010 - 13:10:17 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive