setSeed function

Set the seed. The goal of this method is to centralize all calls to the R method 'set.seed'.