Re: [Rd] [R] how to remove the 'promise' attribute of an R object (.Random.seed)?

2012-05-23 Thread luke-tierney
I'm not persuaded at this point that we want to support use of the lazy loading infrastructure outside the core as we might want to change it in the future. But the principle that promises are an internal implementation detail that should be as invisible at possible at the user level suggest that

Re: [Rd] [R] how to remove the 'promise' attribute of an R object (.Random.seed)?

2012-05-23 Thread Yihui Xie
OK, I switched to r-devel. I'm caching the random seed by saving and lazy loading .Random.seed, so I think it should always be valid (except that it becomes a promise which is essentially an integer vector). The complete process is as follows: set.seed(1) # R generates .Random.seed now tools:::