Don't forget bugs.directory option: Calling WinBUGS from R
I was reproducing an example in Bayesian Data Analysis. This does not work: prompt> schools.sim <- bugs(data, inits, parameters, "schools.txt", n.chains=3, n.iter=1000) Instead, it turned out, I have to specify where WinBUG is stored in my PC. I wish R...
