# 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
dtrenkler@nts6.oec.uni-osnabrueck.de writes:> > .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 0Ow!!!! The current snapshot does that too. (On Linux/i386)> rbinom(10,11,.3)[1] 0 0 0 0 0 0 0 0 0 0> rbinom(10,11,.3)[1] 0 0 0 0 0 0 0 0 0 0> rbinom(10,11,.3)[1] 0 0 0 0 0 0 0 0 0 0> rbinom(10,11,.3)[1] 0 0 0 0 0 0 0 0 0 0> rbinom(10,11,.3)[1] 0 0 0 0 0 0 0 0 0 0 and 0.65.1 had it with size=100, but not with size=11. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> From: dtrenkler@nts6.oec.uni-osnabrueck.de > Date: Thu, 17 Feb 2000 13:08:53 +0100 (MET) >Thanks for the report: now fixed. rbinom was only checking if p was unchanged, and not setting up correctly if n changed too.> 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 >-- Brian D. Ripley, ripley@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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._