unable to create conjugate sampler
Brought to you by:
martyn_plummer
When I attempt to run jags.model(...) in R 2.15.0 using JAGS 3.2.0 I get the following message:
Compiling model graph
Declaring variables
Resolving undeclared variables
Allocating nodes
Graph Size: 1022
Initializing model
Deleting model
Error in jags.model("tyre-jagsmodel3-2012-6-5.r", data = data.list, inits = inits.list, :
LOGIC ERROR:
Unable to create conjugate sampler
Please send a bug report to martyn_plummer@users.sourceforge.net
The model file and two r scripts needed to generate the data and run the model are attached ... or they
Anonymous
source the file tyre-test analysis-2012-6-5.r to run the model and generate the error. It clears the workspace before sourcing the simulation functions and calling jags.model(...)
OK This is a problem with the ShiftedCount sampler, which I have now fixed in the sources. In the meantime you can work around the problem with:
set.factory("bugs::Conjugate", FALSE, type="sampler")