Skip to content
Prev 7051 / 63421 Next

using R API in dynamically loaded code?

Brian Ripley pointed out that I neglected to

#include <Rmath.h>

(which of course is right there in the documentation).  Ooops.

  It all works fine now (I still have the completely separate problem that
generating gamma variates with small shape parameters underflows to zero a
lot of the time, but that seems to be my problem rather than R's problem).

  thanks,
    Ben Bolker