Closed mikemeredith closed 3 years ago
The issue with installation on R devel applies only to the 32-bit version, likely related to the plan to discontinue support for 32-bit Windows in 4.2. I reinstalled R devel with only 64-bit version, and everything worked fine.
Thanks Mike. Though this worked already but you're right, it doesn't.
Currently
jags
does not give reproducible output withparallel=FALSE
whileseed=NULL
, ie, you can't get reproducible output by callingset.seed
beforejags
. Here's a bit of code to show the problem:With
parallel=TRUE
it's ok. Same withjags.basic
. The difference is due to& parallel
in line 70 of the "geninits.R" file. Functions in therjags
package ignore the seed set in R, so to get reproducible results a seed needs to be passed ininits
for serial as well as parallel. Deleting& parallel
fixes this.I've tested this with R CMD check on R 4.1.0 and R devel (build r80301) a few days ago and ran all the AHM code with the new version in R devel and some chapters in R 4.1.0 as well. I got the latest R devel this morning (build r80354) and got an error installing
jagsUI
as it can't find DLLrjags
: an issue with R devel I guess.