mhtess / rwebppl

RWebPPL, an R interface to Webppl http://webppl.org
22 stars 7 forks source link

allow R to pass a random seed #47

Closed mcfrank closed 6 years ago

mcfrank commented 7 years ago

would be great to be able to pass a random seed to webppl as an argument, to promote computational reproducibility.

http://webppl.readthedocs.io/en/master/usage.html

mhtess commented 7 years ago

I'm pretty sure you can set the seed inside a program using

util.setRNG(seednum)

No idea how long that will be accessible though