[Rd] bug in rbinom? (PR#448)

dtrenkler@nts6.oec.uni-osnabrueck.de dtrenkler@nts6.oec.uni-osnabrueck.de
Thu, 17 Feb 2000 13:08:53 +0100 (MET)


# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
#       r-bugs@biostat.ku.dk
#
######################################################



In version 0.99.0 for Windows NT I get the following:

> .Random.seed
[1]     0 21012  4461 28299
> rbinom(10,10,.3)
 [1] 4 5 5 1 5 2 4 2 6 2
> rbinom(10,9,.3)
 [1] 0 0 0 0 0 0 0 0 0 0
> rbinom(10,10,.3)
 [1] 3 3 2 2 3 1 3 3 3 2
> rbinom(10,11,.3)
 [1] 0 0 0 0 0 0 0 0 0 0


I tried similar inputs in version 0.65.1:

> .Random.seed
[1]     0 16049    70 30225
> rbinom(10,10,.3) 
 [1] 3 5 3 1 1 3 3 2 5 1
> rbinom(10,11,.3) 
 [1] 1 3 2 3 4 3 4 2 1 5
> rbinom(10,100,.3) 
 [1] 20  0  0  0  0  0  0  0  0  0
> rbinom(10,100,.3)
 [1] 0 0 0 0 0 0 0 0 0 0




--please do not edit the information below--

Version:
 platform = Windows
 arch = x86
 os = Win32
 system = x86, Win32
 status = Release
 major = 0
 minor = 65.1
 year = 1999
 month = October
 day = 07
 language = R

Windows NT 4.0 (build 1381) Service Pack 3

Search Path:
 .GlobalEnv, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._