[R] How to connect R and WinBUGS/OpenBUGS/LinBUGS in Linux in Feb. 2009
Paul Heinrich Dietrich
paul.heinrich.dietrich at gmail.com
Thu Feb 19 01:49:30 CET 2009
Tobias, this looks great! I'm new to Linux, and I've only installed packages
from within R with install.packages(). I'm guessing that I should unzip
ROpenBUGS to the following path:
...just checking because I'm new and don't want to do it wrong. Thanks.
This really looks great. Any thought to making this a permanently available
package on CRAN?
Tobias Verbeke-4 wrote:
> Uwe Ligges wrote:
>>> Hi all,
>>> I've managed to get JAGS working on my Ubuntu Hardy Linux with a 32-bit
>>> computer and AMD processors using R 2.8.1. JAGS is great. I've read
>>> JAGS is the fastest, but that hasn't been my experience. At any rate, I
>>> have more experience with WinBUGS under Windows and would like a
>>> version of
>>> that working as well.
>>> It seems like I've read a lot on the subject and tried a lot, but
>>> managed to get BUGS to work yet. The most success I've had is to
>>> WinBUGS or OpenBUGS using this method:
>>> What you also need to know is that you need to open Wine and add a
>>> drive. Although Z is recommended, I haven't been able to specify it,
>>> but have
>>> gotten a D drive to work, using:
>>> wine D:/opt/OpenBUGS/winbugs.exe
>>> Using this method, OpenBUGS opens. Now, to be able to open it with
>>> R. I've
>>> read all sorts of discussions about BRugs (which is no longer on CRAN,
>>> old versions can still be found), rbugs, and R2WinBUGS (which I'm used
>>> using on Windows with WinBUGS). Some people say R2WinBUGS cannot run
>>> OpenBUGS on Linux, some claim they've done it (I think). It seems the
>>> thing with everything else. I've tried making the linbugs and cbugs
>>> recommended elsewhere online. It's all very confusing.
>> For short: It is quite unlikely that BRugs / OpenBUGS (which is called
>> LinBUGS under Linux) works natively under your Linux (although it might
>> work under very specific settings).
> As every now and then I get offline requests from people who stumble on
> this thread
> to give details on how I got OpenBUGS running under GNU/Linux,
> I made a stripped-down package that does just that. The approach is
> very, very basic and I only tested this on a few machines and
> distributions, but if it can be useful to anyone, I temporarily
> put it up at
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
View this message in context: http://www.nabble.com/How-to-connect-R-and-WinBUGS-OpenBUGS-LinBUGS-in-Linux-in-Feb.-2009-tp22058716p22091812.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help