Dear all R-members
I have a problem with R when i wanted to call WinBUGS from R as following:
#Call WinBUGS
model<-bugs(data,inits,parameters,model.file="D:/Run/model.txt",
n.chains=2,n.iter=5000,n.burnin=1000,n.thin=1,'DIC=True',
bugs.directory="c:/Program Files/WinBUGS14/",
working.directory="D:/Run/")
and the error is
Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE,
:
Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.
how can i solve this problem please?
Any guidance would be highly appreciated.
--
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]]
On 23.12.2014 08:46, thanoon younis wrote:> Dear all R-members > I have a problem with R when i wanted to call WinBUGS from R as following: > > #Call WinBUGS > model<-bugs(data,inits,parameters,model.file="D:/Run/model.txt", > n.chains=2,n.iter=5000,n.burnin=1000,n.thin=1,'DIC=True',??? You need DIC=TRUE rather than 'DIC=True' so without quotes and correct capitalization.> bugs.directory="c:/Program Files/WinBUGS14/", > working.directory="D:/Run/") > > > and the error is > > Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE, > : > Look at the log file and > try again with 'debug=TRUE' to figure out what went wrong within Bugs.And what happens if your do that? I mean "try again with 'debug=TRUE' to figure out what went wrong within Bugs." Best, Uwe Ligges> > how can i solve this problem please? > > Any guidance would be highly appreciated. > > > > > > > > > >