On 10/02/13 21:43, David Winsemius wrote:
On Feb 10, 2013, at 12:28 PM, Uwe Ligges wrote:
On 10.02.2013 21:18, Paul Ossenbruggen wrote:
I installed XCode, XQuartz and OpenBUGS on my Mac using WINE.
When I tried to test my installation I received the following error.
If correct, BRugs does not exist for R 2.15.1.
Is there a means to get arrange this problem?
Please install BRugs from sources, a Mac binary is not available on CRAN.
If he is doing this with WINE doesn't he need a Windows version.
Of what?
In theory BRugs on Mac OS X could talk to OpenBUGS running the latter
under WINE. Except on 32-bit Windows, BRugs works by running a helper
executable that is linked to OpenBUGS. So that helper would need to be
compiled under Windows and be run through WINE. Just installing BRugs
from the sources on OS X would not achieve that: you would need to build
BugsHelper under Windows (possibly via WINE) and alter the BRugs sources
to run it via WINE.
As others have said on R-sig-mac, it would be almost certainly be
simpler to modify your task to run using JAGS via rjags, and most likely
simpler to run BRugs under R for Windows using a Windows emulator (WINE
might suffice).
Best,
Uwe Ligges
Thanks
Paul
The following code is an example from R Help bugs:
schools.sim <- bugs(data, inits,
+ parameters, model.file, n.chains=3,
+ n.iter=1000,
+ n.thin=10,n.burnin=10,bin=1,
+ DIC=FALSE,debug=TRUE,
+ useWINE = TRUE,
+ program = "OpenBUGS",
+ bugs.directory="c:/ProgramFiles/OpenBUGS/")
Is there a missing space in that path?
--
Brian D. Ripley, rip...@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.