[R] R2WinBUGS
    Uwe Ligges 
    ligges at statistik.tu-dortmund.de
       
    Tue Dec 23 20:33:38 CET 2014
    
    
  
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.
>
>
>
>
>
>
>
>
>
>
    
    
More information about the R-help
mailing list