Hi Paul, I know I'm not directly answering your question, but have you looked at using JAGS (Just Another Gibbs Sampler)? It is a dialect of BUGS that runs native on a Mac. JAGS was created because won't run on a Mac/Linux/Unix without an emulator.
http://mcmc-jags.sourceforge.net/ Your BUGS model would probably require slight modification, but you still could call everything through R with one of several packages such as rjags. Good luck, Richard Ericson PS Depending upon your needs, the new (first release on 1 Sept 2012) Stan program might be worth checking out. It can also be run through R. On Sun, Feb 10, 2013 at 4:30 PM, David Winsemius <[email protected]>wrote: > > On Feb 10, 2013, at 12:24 PM, 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. >> > > It's hard for me to believe that any package designed to be used on a > Windows emulator would be able to access XCode facilities. I'm always > learning new things however. > > > >> 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/") >> Loading required package: BRugs >> Error in openbugs(data, inits, parameters.to.save, model.file, n.chains, >> : >> BRugs is required >> In addition: Warning message: >> In library(package, lib.loc = lib.loc, character.only = TRUE, >> logical.return = TRUE, : >> there is no package called BRugs >> >> > I'm guessing not very many people on this list are running R under WINE. > There is a perfectly fine version of R running under MacOS. Why would we > want to slow it down by running under WINE. (You are certainly free to slow > it down, but you really should post a complete problem description in any > case.) > > ?sessionInfo > ?libaryPaths > > > > >> >> If correct, BRugs does not exist for R 2.15.1. >> > > Not on your machine in the places your setup is looking for it, anyway. > > > >> Is there a means to get arrange this problem? >> >> Thanks >> >> Paul >> >> >> >> [[alternative HTML version deleted]] >> >> ______________________________**_________________ >> R-SIG-Mac mailing list >> [email protected] >> https://stat.ethz.ch/mailman/**listinfo/r-sig-mac<https://stat.ethz.ch/mailman/listinfo/r-sig-mac> >> > > David Winsemius, MD > Alameda, CA, USA > > ______________________________**_________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/**listinfo/r-sig-mac<https://stat.ethz.ch/mailman/listinfo/r-sig-mac> > [[alternative HTML version deleted]]
_______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
