search for: randtoolbox

Displaying 14 results from an estimated 14 matches for "randtoolbox".

2017 May 10
1
registering Fortran routines in R packages
Have you tried using tools:::package_native_routine_registration_skeleton()? If you don't like its output, you can easily edit its results and still avoid most pitfalls. Cheers, Jari Oksanen ________________________________________ From: R-devel <r-devel-bounces at r-project.org> on behalf of Berend Hasselman <bhh at xs4all.nl> Sent: 10 May 2017 09:48 To: Christophe Dutang Cc:
2009 Dec 20
0
new version of randtoolbox
Dear useRs, We are happy to announce a new version of the randtoolbox* package (version 1.09) on CRAN. The package is dedicated to Random Number Generation and in a less exhaustive way to RNG tests. The package is source-controlled at r-forge as part of the Rmetrics project http://r-forge.r-project.org/projects/rmetrics/ . We invite you to take a look at th...
2009 Dec 20
0
new version of randtoolbox
Dear useRs, We are happy to announce a new version of the randtoolbox* package (version 1.09) on CRAN. The package is dedicated to Random Number Generation and in a less exhaustive way to RNG tests. The package is source-controlled at r-forge as part of the Rmetrics project http://r-forge.r-project.org/projects/rmetrics/ . We invite you to take a look at th...
2008 Aug 12
3
aligned memory allocation in C
...shima-u.ac.jp/~m-mat/MT/SFMT/howto-compile.html provides an example of memalign. PPS : mac os report Thread 0 Crashed: 0 libSystem.B.dylib 0x9341bb9e __kill + 10 1 libSystem.B.dylib 0x93492ec2 raise + 26 2 libSystem.B.dylib 0x934a247f abort + 73 3 randtoolbox.so 0x15e65f1d 0x15e5d000 + 36637 4 randtoolbox.so 0x15e614ef fill_array32 + 4038 5 randtoolbox.so 0x15e6513d SFmersennetwister + 335 6 randtoolbox.so 0x15e652c6 doSFMersenneTwister + 255 7 libR.dylib 0x00367...
2008 Aug 12
3
aligned memory allocation in C
...shima-u.ac.jp/~m-mat/MT/SFMT/howto-compile.html provides an example of memalign. PPS : mac os report Thread 0 Crashed: 0 libSystem.B.dylib 0x9341bb9e __kill + 10 1 libSystem.B.dylib 0x93492ec2 raise + 26 2 libSystem.B.dylib 0x934a247f abort + 73 3 randtoolbox.so 0x15e65f1d 0x15e5d000 + 36637 4 randtoolbox.so 0x15e614ef fill_array32 + 4038 5 randtoolbox.so 0x15e6513d SFmersennetwister + 335 6 randtoolbox.so 0x15e652c6 doSFMersenneTwister + 255 7 libR.dylib 0x00367...
2008 Jul 18
1
system time - windows specific problem
Hi all, I'm currently implementing quasi random generation (torus) on R (package randtoolbox available on CRAN). Even if it is not a great idea, I decided to use the machine time to initiate the seed. So when the seed is not specified by the user, the pkg uses the time machine time. Hence the following R code should produce different uniform variates : > for(i in 1:10)print(toru...
2017 May 09
2
registering Fortran routines in R packages
Dear list, I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the...
2018 Mar 13
2
64-bit integer type warning on windows
Dear list, During the last two months, I spent a lot of time trying to remove the following warnings of my package randtoolbox: congruRand.c:180:3: warning: ISO C does not support the 'I64' ms_scanf length modifier [-Wformat=] sscanf(params[0], "%" PRIu64 "\n", &inp_mod); Please see https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/randtoolbox-00install.html The warn...
2017 May 09
0
registering Fortran routines in R packages
> On 9 May 2017, at 13:44, Christophe Dutang <dutangc at gmail.com> wrote: > > Dear list, > > I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. > > Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought...
2008 Sep 13
1
package config file for windows
Hi, I'm maintaining randtoolbox package on CRAN and I wonder how to do a windows config file? I need to test SSE2 instructions support as well as inttypes.h library check. Currently I use the trick of 'foreign' package, i.e. I have config.win file with cp -p src/config.h.win src/config.h and config.h.win was writte...
2017 May 10
3
registering Fortran routines in R packages
...http://dutangc.free.fr/> > Le 9 mai 2017 ? 14:32, Berend Hasselman <bhh at xs4all.nl> a ?crit : > > >> On 9 May 2017, at 13:44, Christophe Dutang <dutangc at gmail.com> wrote: >> >> Dear list, >> >> I?m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup&root=rmetrics. >> >> Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first...
2009 Oct 10
2
[R-SIG-Mac] rnorm.halton
...amp;fname=/SGI_Developer/Porting_Guide/ch03.html , I identify the following changes (Fortran types) to the Fortran code: - INTEGER to INTEGER*8 - REAL*8 to REAL*16 The code I would like to change is available on R forge here : http://r-forge.r-project.org/plugins/scmsvn/viewcvs.php/pkg/randtoolbox/src/LowDiscrepancy.f?rev=4229&root=rmetrics&view=markup Another question I have is how do I tell the R code to use the 64bit version of my code on 64bit machine? In the current implementation, the file quasiRNG.R calls directly the Fortran code with .Fortran. How could I use the 64bit...
2009 Jul 30
3
user supplied random number generators
?Random.user says (in svn trunk) Optionally, functions \code{user_unif_nseed} and \code{user_unif_seedloc} can be supplied which are called with no arguments and should return pointers to the number of seeds and to an integer array of seeds. Calls to \code{GetRNGstate} and \code{PutRNGstate} will then copy this array to and from \code{.Random.seed}. And it offers as an example void
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),