The R Project SVN R

Rev

Rev 27447 | Rev 30461 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27447 Rev 27625
Line 145... Line 145...
145
  two decimal digits are in \code{0:(k-1)}
145
  two decimal digits are in \code{0:(k-1)}
146
  where \code{k} is the number of available RNGs. The hundreds
146
  where \code{k} is the number of available RNGs. The hundreds
147
  represent the type of normal generator (starting at \code{0}).
147
  represent the type of normal generator (starting at \code{0}).
148
 
148
 
149
  In the underlying C, \code{.Random.seed[-1]} is \code{unsigned};
149
  In the underlying C, \code{.Random.seed[-1]} is \code{unsigned};
150
  therefore in \R \code{.Random.seed[-1]} can be negative.
150
  therefore in \R \code{.Random.seed[-1]} can be negative, due to
-
 
151
  the representation of an unsigned integer by a signed integer.
151
 
152
 
152
  \code{RNGkind} returns a two-element character vector of the RNG and
153
  \code{RNGkind} returns a two-element character vector of the RNG and
153
  normal kinds in use \emph{before} the call, invisibly if either
154
  normal kinds in use \emph{before} the call, invisibly if either
154
  argument is not \code{NULL}. \code{RNGversion} returns the same
155
  argument is not \code{NULL}. \code{RNGversion} returns the same
155
  information.
156
  information.