From bolker@zoo.ufl.edu  Wed Mar 13 19:53:59 2002
From: bolker@zoo.ufl.edu (Ben Bolker)
Date: Wed, 13 Mar 2002 14:53:59 -0500 (EST)
Subject: [Rd] using R API in dynamically loaded code?
Message-ID: <Pine.LNX.4.30.0203131451540.25505-100000@bolker.zoo.ufl.edu>


  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

-- 
318 Carr Hall                                bolker@zoo.ufl.edu
Zoology Department, University of Florida    http://www.zoo.ufl.edu/bolker
Box 118525                                   (ph)  352-392-5697
Gainesville, FL 32611-8525                   (fax) 352-392-3704

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] using R API in dynamically loaded code?
Ben Bolker