Attached is my WinBUGS code and R code for spatial conditional autoregression model on page 11.11 of Applied Spatial Data Analysis in R. I have about 3300 polygons with about 17,000 adjacencies in the set. I have changed the model only by removing the beta term as, for now, I don't have any variables to include - I want simply to do a spatially smoothed model with no covariates. Anyhow the code runs fine under R - but I am constantly getting a trap error in Winbugs - Index out of range.I don't know how to get out of the trap ? Any suggestion would be greatly appreciated!