Skip to content

Problem with R2WinBUGS packages

2 messages · sergio vignali, Bob OHara

#
Hi,
I have a problem with the R2WinBUGS package,
when I run the bugs() function with the argument debug=TRUE, WinBUGS
executes the calculations
but R is blocked, instead with the option debug=FALSE it is all ok!
Is there anybody who can help me?

Sergio Vignali
#
On 01/22/2012 05:50 PM, sergio vignali wrote:
Uwe Ligges (ligges at statistik.tu-dortmund.de) is the maintainer. But 
isn't this expected behaviour? The help says

debug     if FALSE (default), WinBUGS is closed automatically when the 
script has fin-
                ished running, otherwise WinBUGS remains open for 
further investigation

IIRC, you just need to close WinBUGS, and it'll return to R.

You only need to use debug=T if BUGS is trapping or throwing errors (and 
have fun understanding the traps).

Bob