Documentation for randu() (PR#2141)

ripley@stats.ox.ac.uk ripley@stats.ox.ac.uk
Thu, 10 Oct 2002 15:34:35 +0200 (MET DST)


That's what the .Rd file says, but % needs to be escaped these days
for it to appear in the converted help.

Fixed for 1.6.1 (and please don't report on obselete versions).

On Thu, 10 Oct 2002 sta6ajb@leeds.ac.uk wrote:

> Full_Name: Andrew J. Baczkowski
> Version: 1.1.1, 1.5.0
> OS: NT, unix
> Submission from: (NULL) (129.11.159.161)
>
>
> Help documentation for randu() has incorrect R code in Example.
>
> Should replace line 4
>
> seed <<- ((2^16) + 3) * seed)
>
> by
>
> seed <<- ((2^16) + 3) * seed) %% (2^31)

-- 
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._