"jean" == jean coursol <jean.coursol@math.u-psud.fr>
on Tue, 25 Nov 2003 15:33:58 +0100 (CET) writes:
jean> Full_Name: jean coursol Version: 1.7.1, 1.8.0 OS:
jean> linux Submission from: (NULL) (129.175.52.7)
jean> w <- pwilcox(1000,50,50) allocates the whole memory
jean> and freezes the system or qwilcox or dwilcox
jean> To fix the problem: in wilcox.c, call wilcox_free()
jean> before return in the three functions dwilcox, qwilcox,
jean> pwilcox.
That can hardly be the general idea!
Note that the R functions [dpq]wilcox() are **vectorized**,
and the whole purpose of the code is to only compute the tables
once per R call -- which is often many calls to the
corresponding C functions.