Re: [Bioc-devel] bpparam Non-deterministic Default

2021-11-26 Thread Ellis Patrick via Bioc-devel
Hi All, Sorry I'm not an advanced user. What is the disadvantage of pulling the default from .Random.seed? As a non-advanced user it took me way too long to figure out that set.seed() doesn't work. Thanks, Ellis -Original Message- From: Bioc-devel On Behalf Of Spencer Nystrom Sent:

Re: [Bioc-devel] bpparam Non-deterministic Default

2021-11-26 Thread Spencer Nystrom
I agree with Martin. I think it is worse for beginners to falsely believe their results are deterministic when they are not. This sounds like a problem that should be solved with documentation and maybe even examples of setting the RNG seed manually. I also worry about advanced users and

Re: [Bioc-devel] bpparam Non-deterministic Default

2021-11-26 Thread Dario Strbenac via Bioc-devel
Hello, Might it instead made possible to set an RNGseed value by specifying one to bpparam but still get the automated back-end selection, so that it could easily be set to a particular value in an R package? -- Dario Strbenac University of Sydney Camperdown

Re: [Bioc-devel] bpparam Non-deterministic Default

2021-11-26 Thread Martin Morgan
I'm not sure that this is a good idea? For instance R does not set the random number stream to be the same by default. Not sure what others might think... Martin On 11/26/21, 6:01 AM, "Bioc-devel on behalf of Dario Strbenac via Bioc-devel" wrote: Good day, I maintain an R package

[Bioc-devel] bpparam Non-deterministic Default

2021-11-26 Thread Dario Strbenac via Bioc-devel
Good day, I maintain an R package which makes use of functions such as bplapply which has bpparam() as the default. I have received feedback from a beginnre user that the results change when he knitted his R Markdown document a second time. This stems from the default constructor of bpparam()