From plummer@iarc.fr  Wed Feb 16 14:43:20 2000
From: plummer@iarc.fr (plummer@iarc.fr)
Date: Wed, 16 Feb 2000 15:43:20 +0100 (MET)
Subject: [Rd] Invalid .Random.seed problems: (PR#445)
Message-ID: <200002161443.PAA21891@pubhealth.ku.dk>

I have some old work spaces with old-style (now invalid) values of
.Random.seed.  If I attempt to use the old random seed I get an error
message, of course. After removing the invalid .Random.seed the random
number functions will not work since they try to grab a huge chunk of
memory.

> rnorm(1)
Error in rnorm(1) : .Random.seed[1] is NOT a valid RNG kind (code)
> .Random.seed
[1] 19128 18401 22977
> rm(.Random.seed)
> rnorm(1)
Error in rnorm(1) : norm_rand(): invalid N01_kind: 191
> rbeta(1,2,2)
Error: heap memory (6144 Kb) exhausted [needed 530329 Kb more]
       See "help(Memory)" on how to increase the heap size.
> rpois(1,3)
Error: heap memory (6144 Kb) exhausted [needed 530329 Kb more]
       See "help(Memory)" on how to increase the heap size.

Martyn

--please do not edit the information below--

Version:
 platform = i686-unknown-linux
 arch = i686
 os = linux
 system = i686, linux
 status = Patched
 major = 0
 minor = 99.0
 year = 2000
 month = February
 day = 9
 language = R

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


[Rd] Invalid .Random.seed problems: (PR#445)
plummer@iarc.fr