Date: Thu, 5 Jan 2012 11:58:06 +0100 Subject: [R-pkgs] The BRugs 0.7-4 interface to OpenBUGS released After so many questions and a considerable delay (almost entirely my fault), the BRugs package version 0.7-4 has been released yesterday. The BRugs package is available from CRAN master already as source and in binary form for Windows and will be synced by the mirrors shortly. Note the following changes (more details in the NEWS file): BRugs works on Linux now BRugs now supports 64-bit R on Windows BRugs works with an existing installation of OpenBUGS (at least 3.2.1) instead of being distributed with the OpenBUGS library, hence the OpenBUGS installation is a requirement. Both the Linux version as well as the 64-bit version for 64-bit R on Windows are typically slower than the more native interface used for 32-bit R on Windows. Thanks to all who helped to get so far. Special thanks to Chris Jackson for many improvement and all his work to build the Linux part of the interface. Best, Uwe Ligges _______________________________________________ R-packages mailing list R-packages@r-project.org https://stat.ethz.ch/mailman/listinfo/r-packagesひさしぶりに, OpenBUGS をいじってみた.
openbugs_3.2.1-1_i386.deb
は (よくみたら Ubuntu 10.10 用ぢゃん)
libc
package の名前が違うとかでインストールできづ,
OpenBUGS-3.2.1.tar.gz
はインストールできたのだが
……
これってすごくアヤしいソフトウェアで,
blackbox な library (3MB 弱) が本体で,
それを一個の src (in C) でよびだしているという
……
install.packages("BRugs")
できん!
source とってきて,
sudo R CMD INSTALL BRugs_0.7-5.tar.gz
library(BRugs)
は何ともつかいにくいもので
……
library(R2WinBUGS)
で program = "openbugs"
で動くとのハナシもあるんだけど
……
ためしてみたけどダメだった.
> post.bugs <- call.bugs(file = "model.bug.txt", n.iter = 1600, n.burnin = 100, n.thin = 3, program = "openbugs") Loading required package: BRugs Welcome to BRugs connected to OpenBUGS version 3.2.1 Carriage returns added to model file /home/kubo/public_html/stat/iwanamibook/fig/gibbs/winbugs/model.bug.txt model is syntactically correct 以下にエラー BRugs::bugsData(data, digits = digits) : Expected a list of data, a list or vector of variable names