[R] R2WinBUGS/ trap
Ben Bolker
bolker at ufl.edu
Tue Jan 26 04:54:40 CET 2010
julien martin <julemartin0320 <at> gmail.com> writes:
>
> I am generating 1000 replicate data sets in R, each data set is then
> analyzed with WinBUGS in batch mode using R2WinBUGS. Unfortunately,
> occasionally some data sets lead WinBUGS to open a "trap" window; and the
> simulations are interrupted as result of the message. Is there any ways to
> set R2WinBUGS so that it would ignore the trap message and proceed with the
> simulations?
I'm not sure -- I don't think so -- I don't remember if R hangs
or returns an error on a trap -- but you could try (1) try()
and (2) JAGS/R2jags
More information about the R-help
mailing list