[Rd] suggestion for extending ?as.factor

2009-05-03 Thread Petr Savicky
In R-2.10.0, the development version, function as.factor() uses 17 digit precision for conversion of numeric values to character type. This is very good for the consistency of the resulting factor, however, i expect that people will complain about, for example, as.factor(0.3) being [1] 0.2999

Re: [Rd] set.seed and /dev/random

2009-05-03 Thread Thomas Lumley
On Sat, 2 May 2009, Saptarshi Guha wrote: Hello, In ?set.seed I notice that a seed is created from the system time. Thus if two machines were (hypothetically) running for the same time and R was started simultaneously on both, the would have the same seeds (correct?). Yes. This could in princi

Re: [Rd] set.seed and /dev/random

2009-05-03 Thread Saptarshi Guha
Interesting stuff. Thank you Saptarshi On Sat, May 2, 2009 at 7:21 PM, Dirk Eddelbuettel wrote: > > On 2 May 2009 at 18:53, Saptarshi Guha wrote: > | Hello, > | In ?set.seed I notice that a seed is created from the system time. > | Thus if two machines were (hypothetically) running for the sam