Re: [R] R2WinBUGS: Error in bugs(program=openbugs) but not openbugs()

2010-11-13 Thread Uwe Ligges
I found the problem which is a scoping issue in BRugs::bugsData() and will fix it for the next release. For now, you can workaround by calling your parameters (in this case particularly beta) with a names that are different from R function names (e.g. call it beta1). Best wishes, Uwe

Re: [R] R2WinBUGS: Error in bugs(program=openbugs) but not openbugs()

2010-11-13 Thread Uwe Ligges
On 13.11.2010 18:05, Uwe Ligges wrote: I found the problem which is a scoping issue in BRugs::bugsData() and will fix it for the next release. For now, you can workaround by calling your parameters (in this case particularly beta) with a names that are different from R function names (e.g.

[R] R2WinBUGS: Error in bugs(program=openbugs) but not openbugs()

2010-11-11 Thread Yuelin Li
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. help(bugs) ... either winbugs/WinBUGS or openbugs/OpenBUGS, the latter makes use of