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

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

2010-07-15 Thread Uwe Ligges
On 14.07.2010 18:31, Ben Bolker wrote: Frédéric Holzwarth uni-leipzig.de> writes: Hello there, is there a way to update a model, which was called by "bugs()"? For instance starting with few iterations and then updating more and more, as is possible inside the WinBUGS-window. If set "debug

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

2010-07-14 Thread Ben Bolker
Frédéric Holzwarth uni-leipzig.de> writes: > > Hello there, > > is there a way to update a model, which was called by "bugs()"? For > instance starting with few iterations and then updating more and more, > as is possible inside the WinBUGS-window. If set "debug=TRUE", then the > window rema