Re: [R] Reconcile Random Samples

2010-12-23 Thread Daniel Nordlund
> -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Mike Harwood > Sent: Thursday, December 23, 2010 9:19 AM > To: r-help@r-project.org > Subject: [R] Reconcile Random Samples > > Is there a way to g

[R] Reconcile Random Samples

2010-12-23 Thread Mike Harwood
Is there a way to generate identical random samples using R's runif function and SAS's ranuni function? I have assigned the same seed values in both software packages, but the following results show different results. Thanks! R === > set.seed(6) > random <- runif(10) > random [1] 0.6062683 0.9