On 16.01.2012 16:09, Ruth Chapman wrote:
Hi,
I am very new to R and Winbugs. I have been provided with a code that runs
Winbugs from R. The code runs 60 different models and I would like to
either save the Winbugs log file for each of these or reproduce the WinBugs
plots which show convergence over the iterations.I can do this by using
Debug=true and saving manually each time but obviously this is very time
consuming.
The log file (not as .odc and as .txt file) is in R'd tempdir() after
WinBUGS returns to R. Hence, from R, you could copy the file to anotehr
llocation before you start to execute the next part in WinBUGS:
file.copy(file.path(tempdir(), "log.txt"),
"c:/some/directory/to/log-model1.txt")
Best,
Uwe Ligges
Many thanks
Ruth Chapman
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.