Re: [R] Current state of support for BUGS access for Linux users?

2006-01-18 Thread Andrew Gelman
Hi all. Sorry for any confusion. At one point, close to a year ago I think, I put in the effort to get the bugs() function in R to work with OpneBUGS. But at the time, I couldn't get OpenBUGS to do much. After some effort I got it to work on some simple examples but I couldn't get it to

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-18 Thread Uwe Ligges
Andrew Gelman wrote: Hi all. Sorry for any confusion. At one point, close to a year ago I think, I put in the effort to get the bugs() function in R to work with OpneBUGS. But at the time, I couldn't get OpenBUGS to do much. After some effort I got it to work on some simple examples

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-18 Thread Andrew Gelman
Uwe, Does coda put parameters into arrays based on their names? I had the impression that coda just considered parameters as one very long vector (as in the summary output inside the Bugs window), hence it would not make those nice graphs on the right side of the output from plot() applied

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Paul Johnson
Thanks, Uwe that clears up why I can't make R2WinBUGs work with OpenBUGS and WinBUGS1.5 :) Both work pretty good with Wine in a GUI. I noticed that when I tried rbugs, it does succeed in starting WinBUGS GUI, but then nothing happens. I'll get WinBUGS1.4 and see what happens. In the meanwhile,

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Uwe Ligges
Paul Johnson wrote: Thanks, Uwe that clears up why I can't make R2WinBUGs work with OpenBUGS and WinBUGS1.5 :) Both work pretty good with Wine in a GUI. I noticed that when I tried rbugs, it does succeed in starting WinBUGS GUI, but then nothing happens. I'll get WinBUGS1.4 and see what

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Gregor Gorjanc
Hello! Re R packages: - R2WinBUGS is compatible with WinBUGS-1.4.x only, its newest version can speak with WinBUGS under wine thanks to user contributions. But it still depends on WinBUGS-1.4.x, hence Windows only (considering wine as Windows). However Andrew Gelman, has added also

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Paul Johnson
Thanks! Let me ask this question again. Clearly, if you experts can't make R talk to WinBUGS, then I can't either. So, If bugs() doesn't work, What is the next best thing? With wine, I can run OpenBUGS and WinBUGS, but I cannot send jobs from R to a BUGS program (still trying, some people say

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Paul Johnson
Before I forget, found the working recipe for rbugs. My mistake before was not realzing that the n.iter value is total iterations, including burnin, and so by setting n.iter=1000 and n.burnin=1000, I was leaving 0 iterations for the updates. ### Paul Johnson 2006-01-18. This does work! ### Works

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-17 Thread Gregor Gorjanc
Paul Johnson wrote: Do you mean to say that you have actually made OpenBUGS run with R2WinBUGS in Linux? No, I did not say this. Gelman's page seems to state that OpenBUGS support is brought in from BRugs, which is still Windows-only. Well, Gelman changed his site a bit. Few days (weeks?)

Re: [R] Current state of support for BUGS access for Linux users?

2006-01-16 Thread Uwe Ligges
Paul Johnson wrote: Greetings: I'm going to encourage some students to try Bayesian ideas for hierarchical models. I want to run the WinBUGS and R examples in Tony Lancaster's An Introduction to Modern Bayesian Econometrics. That features MS Windows and bugs from R2WinBUGS. Today, I