Last data update: 2014.03.03

randtoolbox

Package: randtoolbox
Type: Package
Title: Toolbox for Pseudo and Quasi Random Number Generation and RNG
Tests
Version: 1.17
Author: R port by Yohan Chalabi, Christophe Dutang, Petr Savicky and Diethelm Wuertz with underlying C codes of (i) the SFMT algorithm from M. Matsumoto and M. Saito, (ii) the Knuth-TAOCP RNG from D. Knuth.
Maintainer: Christophe Dutang <christophe.dutang@ensimag.fr>
Description: Provides (1) pseudo random generators - general linear congruential generators, multiple recursive generators and generalized feedback shift register (SF-Mersenne Twister algorithm and WELL generators); (2) quasi random generators - the Torus algorithm, the Sobol sequence, the Halton sequence (including the Van der Corput sequence) and (3) some RNG tests - the gap test, the serial test, the poker test. The package depends on rngWELL package but it can be provided without this dependency on demand to the maintainer. For true random number generation, use the 'random' package, for Latin Hypercube Sampling (a hybrid QMC method), use the 'lhs' package. A number of RNGs and tests for RNGs are also provided by 'RDieHarder', all available on CRAN. There is also a small stand-alone package 'rngwell19937' for the WELL19937a RNG.
Depends: rngWELL (>= 0.10-1)
License: BSD_3_clause + file LICENSE
NeedsCompilation: yes
Packaged: 2015-07-30 10:02:21 UTC; dutangc
Repository: CRAN
Date/Publication: 2015-07-30 12:48:53

● Cran Task View: Distributions
● 0 images, 15 functions, 0 datasets
Reverse Depends: 3

Install log

* installing to library '/home/ddbj/local/lib64/R/library'
* installing *source* package 'randtoolbox' ...
** package 'randtoolbox' successfully unpacked and MD5 sums checked
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for inttypes.h... (cached) yes
checking whether byte ordering is bigendian... no
checking for unsigned long long... yes
checking size of unsigned long long... 8
configure: creating ./config.status
config.status: creating src/config.h
config.status: src/config.h is unchanged
** libs
f95   -fpic  -g -O2  -c LowDiscrepancy.f -o LowDiscrepancy.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c SFMT.c -o SFMT.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c congruRand.c -o congruRand.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c init.c -o init.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c knuthTAOCP2002.c -o knuthTAOCP2002.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c mt19937ar.c -o mt19937ar.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c randtoolbox.c -o randtoolbox.o
randtoolbox.c: In function 'congruRand':
randtoolbox.c:271:37: warning: passing argument 1 of 'get_seed_congruRand' from incompatible pointer type [-Wincompatible-pointer-types]
                 get_seed_congruRand(&temp);
                                     ^
In file included from randtoolbox.h:63:0,
                 from randtoolbox.c:54:
congruRand.h:90:6: note: expected 'uint64_t * {aka long unsigned int *}' but argument is of type 'long long unsigned int *'
 void get_seed_congruRand(uint64_t *out_seed);
      ^
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c runifInterface.c -o runifInterface.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c testrng.c -o testrng.o
gcc -I/home/ddbj/local/lib64/R/include -DNDEBUG  -I/usr/local/include    -fpic  -g -O2  -c version.c -o version.o
gcc -shared -L/home/ddbj/local/lib64/R/lib -L/usr/local/lib64 -o randtoolbox.so LowDiscrepancy.o SFMT.o congruRand.o init.o knuthTAOCP2002.o mt19937ar.o randtoolbox.o runifInterface.o testrng.o version.o -L/home/ddbj/local/lib64/R/lib -lRlapack -L/home/ddbj/local/lib64/R/lib -lRblas -lgfortran -lm -lquadmath -lgfortran -lm -lquadmath -L/home/ddbj/local/lib64/R/lib -lR
installing to /home/ddbj/local/lib64/R/library/randtoolbox/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
  converting help for package 'randtoolbox'
    finding HTML links ... done
    auxfun                                  html  
    colltest                                html  
    colltestsparse                          html  
    freqtest                                html  
    gaptest                                 html  
    get.primes                              html  
    getWELLState                            html  
    ordertest                               html  
    overall-doc                             html  
    pokertest                               html  
    pseudoRNG                               html  
    quasiRNG                                html  
    rngWELLScriptR                          html  
    runifInterface                          html  
    serialtest                              html  
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (randtoolbox)
Making 'packages.html' ... done