I get an error when I call bugs(..., program="OpenBUGS", bugs.directory="c:/Program files/OpenBUGS/OpenBUGS312"), expecting, as suggested in help(bugs), that it would fit the model with openbugs() via BRugs.
复制代码
However, it works fine when I directly call openbugs(). All other things are exactly the same. It seems that (in my
settings) bugs(program="OpenBUGS") works differently than openbugs(). Am I doing something wrong with bugs()? Or there is something wrong with my OpenBUGS installation?
I am using R-2.12.0, R2WinBUGS 2.1-16 (2009-11-06), OpenBUGS 3.1.2 rev 668 (2010-09-28), and BRugs 0.5-3 (2009-11-06) on a Windows XP machine.