Skip to content

Commit 4c37588

Browse files
author
kalibera
committed
Document that .Random.seed[-1] may become not only negative, but perhaps
also NA (PR#18870). git-svn-id: https://svn.r-project.org/R/trunk@88700 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent d81e857 commit 4c37588

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/library/base/man/Random.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ set.seed(seed, kind = NULL, normal.kind = NULL, sample.kind = NULL)
238238
the ten thousands represent the type of discrete uniform sampler.
239239
240240
In the underlying C, \code{.Random.seed[-1]} is \code{unsigned};
241-
therefore in \R \code{.Random.seed[-1]} can be negative, due to
241+
therefore in \R \code{.Random.seed[-1]} can be negative or perhaps
242+
\code{\link{NA_integer_}}, due to
242243
the representation of an unsigned integer by a signed integer.
243244
244245
\code{RNGkind} returns a three-element character vector of the RNG,

0 commit comments

Comments
 (0)