oth rstan and rstansim allow for fully reproducable results to be produced. However, in cases where rstan is used to generate new values in the generated quantities code block (using “_rng" suffixed commands) a common seed is not sufficient to guarantee reproducability within the same R session (see <a href="https://groups.google.com/forum/#!topic/stan-users/8ayvLs229Ow">the discussion here</a>).</p>
<p>This can be managed by restarting the R session in advance of calling any functions reliant on rstans R