From: Gregor G. <gre...@bf...> - 2007-09-17 09:32:17
|
Sparapani, Rodney wrote: > Hi Gang: > > Ok. The latest trunk works, but I'm not sure if I tried all the new features. Here's what I did: > >> Sys.setenv(DISPLAY=":0.0") >> Sys.setenv(WINE="/Applications/Darwine/Wine.bundle/Contents/bin/wine") >> Sys.setenv(WINEPATH="/Applications/Darwine/Wine.bundle/Contents/bin/winepath") >> schools.sim <- bugs (data=data, > + inits=inits, > + parameters.to.save=parameters, > + model.file="schools.txt", > + n.chains=3, > + n.iter=1000, > + bugs.directory="/Applications/WinBUGS14", > + debug=FALSE) > OK. Can you also try Sys.setenv(DISPLAY=":0.0") schools.sim <- bugs (data=data, inits=inits, parameters.to.save=parameters, model.file="schools.txt", n.chains=3, n.iter=1000, bugs.directory="/Applications/WinBUGS14", debug=FALSE) i.e. without explicit setting WINE and WINEPATH? I would like to know if search for wine and winepath binaries is successful on mac. Is the /Applications/WinBUGS14 path on Mac as standard as C:\Program Files\WinBUGS14 on Windows? If yes, then we could use it as default on mac. On Linux/unix OS we assume that WinBUGS is installed (under wine) as in windows. Gregor |