[R] how to initialize random seed properly ?

Lutz Prechelt prechelt at pcpool.mi.fu-berlin.de
Thu Jun 10 11:35:02 CEST 2004


> I want to start R processes on multiple processors from single shell 
> script
> and I want all of them to have different random seeds.

The usual way would be using the process ID for the initialization.
Or the shell script could just hand out consecutive numbers 1, 2, 3, ...

  Lutz




More information about the R-help mailing list