Menu

#45 Jags 4.+ -- Syntax error, unexpected Name

v1.0_(example)
closed
nobody
None
1
2016-04-20
2016-04-19
Anonymous
No

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.

Discussion

  • Martyn Plummer

    Martyn Plummer - 2016-04-19

    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?

     
  • Anonymous

    Anonymous - 2016-04-20

    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 !

     
  • Martyn Plummer

    Martyn Plummer - 2016-04-20
    • status: open --> closed
     
  • Martyn Plummer

    Martyn Plummer - 2016-04-20

    No problem. I'm just glad it works for you now.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB