Hi all,

I just run into this today. Apparently rexp() sometimes gives different
slightly results for the same seed on 32 bit and 64 bit machines. runif()
is the same for both, so the problem seems to be in rexp().

64 bit Linux is the same as 64 bit OSX, and R-devel gives the same results
as R-3.0.2.

Best,
Gabor

# ---------------------------------------------
> options(digits=22) ; set.seed(9) ; rexp(1, 5)
[1] 0.2806184054728815824298
> options(digits=22) ; set.seed(9) ; runif(1)
[1] 0.2216013972647488117218
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: i686-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
 [3] LC_TIME=en_US.utf8        LC_COLLATE=en_US.utf8
 [5] LC_MONETARY=en_US.utf8    LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C
 [9] LC_ADDRESS=C              LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.utf8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

# ---------------------------------------------
> options(digits=22) ; set.seed(9) ; rexp(1, 5)
[1] 0.2806184054728815269186
> options(digits=22) ; set.seed(9) ; runif(1)
[1] 0.2216013972647488117218
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

	[[alternative HTML version deleted]]

