CRAN packages GLDEX, fOptions, randtoolbox

Martin Maechler maechler at stat.math.ethz.ch
Wed Apr 11 12:21:22 CEST 2012


Thank you, Brian.

>>>>> Prof Brian Ripley <ripley at stats.ox.ac.uk>
>>>>>     on Wed, 11 Apr 2012 08:49:53 +0100 writes:

    > 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.

I've committed the necessary change to the R-forge version of fOptions,
but leave a new upload to the "core of Rmetrics-core".

Martin Maechler



    > 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

    > _______________________________________________
    > Rmetrics-core mailing list
    > Rmetrics-core at r-project.org
    > https://stat.ethz.ch/mailman/listinfo/rmetrics-core



More information about the Rmetrics-core mailing list