Full_Name: Martin Schlather
Version: 1.4.1
OS: Linux, Suse 7.3
Submission from: (NULL) (132.180.7.27)
Hi,
The following simple C-program causes my computer to break down after 
some time when called by .C("test") 
#include <Rmath.h>
void test(){
  for(;;) bessel_i(1.0, 1.0, 1.0);
}
since memory allocated by bessel_i is not freed, in contrast to the standalone
version of Rmath.
(Actually, a self-written package calls bessel_i about 3,000,000 times, 
 causing the same effect.)
Cheers,
Martin
PS:
A very simple package that calls test() can be found at
    http://www.geo.uni-bayreuth.de/~martin/filetransfer/MEMORY_0.0.0.tar.gz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._