{"action":"created","issue":{"url":"https://api.github.com/repos/simsem/simsem/issues/32","labels_url":"https://api.github.com/repos/simsem/simsem/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/simsem/simsem/issues/32/comments","events_url":"https://api.github.com/repos/simsem/simsem/issues/32/events","html_url":"https://github.com/simsem/simsem/issues/32","id":62003586,"number":32,"title":"sim(): default value of seed","user":{"login":"kovla","id":3816002,"avatar_url":"https://avatars.githubusercontent.com/u/3816002?v=3","gravatar_id":"","url":"https://api.github.com/users/kovla","html_url":"https://github.com/kovla","followers_url":"https://api.github.com/users/kovla/followers","following_url":"https://api.github.com/users/kovla/following{/other_user}","gists_url":"https://api.github.com/users/kovla/gists{/gist_id}","starred_url":"https://api.github.com/users/kovla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovla/subscriptions","organizations_url":"https://api.github.com/users/kovla/orgs","repos_url":"https://api.github.com/users/kovla/repos","events_url":"https://api.github.com/users/kovla/events{/privacy}","received_events_url":"https://api.github.com/users/kovla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-16T08:15:04Z","updated_at":"2015-04-16T07:55:41Z","closed_at":null,"body":"I believe there is a potential source of confusion in sim() version 0.5-9: the default value of seed is set to 123321. I used sim() to run an ML analysis on single dataset, and that operation was then run in parallel. Not the intended use of sim(), perhaps, but it was more convenient in my case than using lavaan directly. \r\n\r\nIn either case, I've noticed that, when run in parallel, almost all my results were identical. In the end, it boiled down to specifying seed=NULL as argument. Perhaps the NULL value should be specified by default, as users may be unaware of the current setting. "},"comment":{"url":"https://api.github.com/repos/simsem/simsem/issues/comments/93670277","html_url":"https://github.com/simsem/simsem/issues/32#issuecomment-93670277","issue_url":"https://api.github.com/repos/simsem/simsem/issues/32","id":93670277,"user":{"login":"kovla","id":3816002,"avatar_url":"https://avatars.githubusercontent.com/u/3816002?v=3","gravatar_id":"","url":"https://api.github.com/users/kovla","html_url":"https://github.com/kovla","followers_url":"https://api.github.com/users/kovla/followers","following_url":"https://api.github.com/users/kovla/following{/other_user}","gists_url":"https://api.github.com/users/kovla/gists{/gist_id}","starred_url":"https://api.github.com/users/kovla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kovla/subscriptions","organizations_url":"https://api.github.com/users/kovla/orgs","repos_url":"https://api.github.com/users/kovla/repos","events_url":"https://api.github.com/users/kovla/events{/privacy}","received_events_url":"https://api.github.com/users/kovla/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T07:55:41Z","updated_at":"2015-04-16T07:55:41Z","body":"I can't remember exactly, as some time has passed now since I wrote that. I believe that sim() threw an error when I tried to use its internal parallel implementation, so I worked around that. Also, there is no `reps=` argument in generate. So it seemed easier to aggregate all the statistical processing in one step and parallelize in another. "}}