Re: [R] Help R2WinBUGS

2009-12-04 Thread TTsai
I try it again and it works. Thank you. TTsai wrote: > > Hello, > > I have problem running WinBUGS from R. > The following example works in WinBUGS but it does not work in R through > package R2WinBUGS. > Does anyone know what the problem is? > > x <- c(0.2, 1.1, 1, 2.2, 2.5, 2.9, 2.9, 3.6,

Re: [R] Help R2WinBUGS

2009-12-03 Thread Uwe Ligges
TTsai wrote: Hello, I have problem running WinBUGS from R. The following example works in WinBUGS but it does not work in R through package R2WinBUGS. Works for me. What is the error message you get? Best wishes, Uwe Ligges Does anyone know what the problem is? x <- c(0.2, 1.1, 1, 2.2

[R] Help R2WinBUGS

2009-12-02 Thread TTsai
Hello, I have problem running WinBUGS from R. The following example works in WinBUGS but it does not work in R through package R2WinBUGS. Does anyone know what the problem is? x <- c(0.2, 1.1, 1, 2.2, 2.5, 2.9, 2.9, 3.6, 3.8, 0.6, 1, 2, 2.4, 2.6, 2.8, 3.2, 3.9, 3.5) y <- c(0.5, 1.3, 0.1, 0.7, -0