Hi Roger,
If you do not supply an explicit data list, the jags.model() function
will try to get the data from the calling environment. This is
obviously not working with cacheSweave, but if you do supply an explicit
list, like this:
m - jags.model(j.bug, data=list(y=y))
it will work.
Martyn
Hi all,
I use the excellent packages rjags and cacheSweave, and unfortunately
seem to have found an incompatibility between them. Below are a
minimal .Rnw file and corresponding JAGS model file which illustrate
the problem:
*** JAGS model file; name=j.bug ***
model {
mu ~
2 matches
Mail list logo