Re: [R] how to update a bugs-model from inside R using R2WinBUGS

2011-06-16 Thread Frederic Holzwarth
The script command "coda" is not necessary, unless you want to read in in coda-format output. Necessary are the other commands: "history & save (odc)". "save (txt)" lets you read the on-screen output of winbugs later as a text-file. Another way is also to take the saved last values of the chains a

Re: [R] how to update a bugs-model from inside R using R2WinBUGS

2010-12-02 Thread Frederic Holzwarth
I found a very simple way: you start winbugs from R and state: debug=TRUE, start maybe with few iterations, like 10. If everything goes fine, open a new & empty "odc" document in winbugs. Now scan the log file and find something like this: update(10) coda(*,C:/DOKUME~1/Frederic/LOKALE~1/Temp/Rtmp