Hi for all members in R community
I have a small problem in the code below when i call OpenBUGS
#Call OpenBUGS
model= bugs(data,
inits,
parameters.to.save=parameters,
model.file="D:/Run/model.txt",
n.iter=5000,
n.burnin=0,
OpenBUGS.pgm "C:/Program
Files/OpenBUGS/OpenBUGS323/OpenBUGS.exe",
working.directory="D:/Run/",
n.thin=2,
n.chains=2,
debug=TRUE,
DIC=TRUE)
The problem is when the first iteration finish it stop directly without
rerun the second iteration so how can i run the iterations automatically.
Many thanks in advance
--
Thanoon Y. Thanoon
PhD Candidate
Department of Mathematical Sciences
Faculty of Science
University Technology Malaysia, UTM
E.Mail: Thanoon.younis80 at gmail.com
E.Mail: dawn_prayer80 at yahoo.com
Facebook:Thanoon Younis AL-Shakerchy
Twitter: Thanoon Alshakerchy
H.P:00601127550205
[[alternative HTML version deleted]]
Not sure from what you sent: The call looks fine, so you need to make inits, data and model file available, I think. And perhaps more an OpenBUGS than an R question... Best, Uwe Ligges On 12.06.2015 20:09, thanoon younis wrote:> Hi for all members in R community > I have a small problem in the code below when i call OpenBUGS > #Call OpenBUGS > model= bugs(data, > inits, > parameters.to.save=parameters, > model.file="D:/Run/model.txt", > n.iter=5000, > n.burnin=0, > OpenBUGS.pgm > "C:/Program Files/OpenBUGS/OpenBUGS323/OpenBUGS.exe", > working.directory="D:/Run/", > n.thin=2, > n.chains=2, > debug=TRUE, > DIC=TRUE) > > The problem is when the first iteration finish it stop directly without > rerun the second iteration so how can i run the iterations automatically. > > > Many thanks in advance >