title: Syntax error JAGSUI: Error parsing model file
body: <p>I'm trying to fit a model in JAGSUI but I get the following error:</p>
  <blockquote>
  <p>Error in checkForRemoteErrors(val) :
  3 nodes produced errors; first error:
  Error parsing model file:
  syntax error on line 105 near &quot;&quot;</p>
  </blockquote>
  <p>I cannot figure out what's going on here. Below you can find the model code I'm using, up until line 105 (last line) where the error is apearing.</p>
  <pre><code>sink(&quot;model.txt&quot;)
  </code></pre>
  <p>cat(&quot;
  model {</p>
  <pre><code>mu.lpsi.int ~ dnorm(0,0.01)
  tau.lpsi.int &lt;- 1/ (sigma.lpsi.int * sigma.lpsi.int)
  sigma.lpsi.int ~ dunif(0,10)
  
  
  #Establishing community level Betas (hyperparameters), 
  #Average response of all species for the top covariates
  mu.border ~ dnorm(0,0.01)
  mu.sec ~ dnorm(0,0.01)
  mu.HW ~ dnorm(0,0.01)
  mu.PredW ~ dnorm(0,0.01)
  mu.PreyW ~ dnorm(0,0.01)
  
  tau.mu.border &lt;- 1/ (sigma.mu.border * sigma.mu.border)
  sigma.mu.border ~ dunif(0,10)
  tau.mu.sec &lt;- 1/ (sigma.mu.sec * sigma.mu.sec)
  sigma.mu.sec ~ dunif(0,10)
  tau.mu.HW &lt;- 1/ (sigma.mu.HW * sigma.mu.HW)
  sigma.mu.HW ~ dunif(0,10)
  tau.mu.PredW &lt;- 1/ (sigma.mu.PredW * sigma.mu.PredW)
  sigma.mu.PredW ~ dunif(0,10)
  tau.mu.PreyW &lt;- 1/ (sigma.mu.PreyW * sigma.mu.PreyW)
  sigma.mu.PreyW ~ dunif(0,10) 
  </code></pre>
  <p><code>#Establishing the Hyperparamaeter for the intercept on detection(p)</code></p>
  <p>Can someone tell me what I'm doing wrong? I'm happy to provide more information. I'm a beginner in JAGS modelling.</p>
  <p>Thanks in advance,</p>
  <p>Fleur</p>