Jags 4.+ -- Syntax error, unexpected Name
Brought to you by:
martyn_plummer
Error: syntax error, unexpected NAME
using the code: Jags-Ybinom-XnomSsubjCcat-MbinomBetaOmegaKappa.R
from John Krushke Doing Bayesian Data Analysis book (Chapter 9 -- code available here: https://sites.google.com/site/doingbayesiandataanalysis/software-installation/DBDA2Eprograms.zip?attredirects=0&d=1)
Error appears with jags 4.0.0, jags 4.1.0, and jags 4.2.0 -- works with jags 3.4.0 though.
Anonymous
Works for me.
JAGS 4.0.0 did not run all of John's examples but I tested them all before releasing JAGS 4.1.0, and JAGS 4.2.0 just fixes a few bugs. This runs without a problem for me. Can you show a transcript of your session?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bug reports"
Strangely enough after disinstalling 3.4.0 and re-installing 4.2.0 it worked this time :o
No idea what happened! Really sorry about reporting a bug when there was none !
No problem. I'm just glad it works for you now.