CRAN packages GLDEX, fOptions, randtoolbox

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Apr 11 09:49:53 CEST 2012


Several days ago I reported an array over-run in these packages, in the 
following example (precise code taken from fOptions):

rnrm.h>    hist(runif.halton(n = 5000, dimension = 1), main = "Uniform 
Halton",
rnrm.h+      xlab = "x", col = "steelblue3", border = "white")

The problem is the following lines in the Fortran code:

       DOUBLE PRECISION QUASI(DIMEN), HALF
       INTRINSIC MOD
       INTEGER NC, I, K, M, N, NB

C     INIT BASE FROM PRIMES - THIS IMPLEMENTS A SIMPLE SIEVE:
       BASE(1) = 2
       BASE(2) = 3

Here DIMEN is 1, so BASE(2) does not exist.

Please submit corrected updates by April 27.

Brian Ripley

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the Rmetrics-core mailing list