title: How many times to use set.seed(123)
body: <p>I have 60 lines of code. Throughout the code there are several calls to random number generators including <code>rnorm()</code>. Is it enough to put <code>set.seed(x)</code> in the very beginning of the code or do I need to set.seed every time random number generation occurs in the code?</p>