Note also that the most recent version of JAGS is 4.2.0
(http://mcmc-jags.sourceforge.net/). It’s probably worth upgrading. JAGS is
available via homebrew if you want an easy way to install it and keep it up to
date.
Simon Bonner
Assistant Professor of Environmetrics/Director MMASc
Department
Hi Paul,
An easy way to do this is to rename your file as model.R. The syntax for BUGS
is almost identical to the syntax for R, and BUGS doesn’t care what the model
extension is.
Wish I could say that I thought of that but kudos go to Matthew Schofield.
Cheers,
Simon
Simon Bonner
Assistant