Dear all,
Crossover lets me run OpenBugs on my new Mac nicely. However, I've been running OpenBugs with Wine for not so long ago, and that I used to run code within R. Nonetheless, with Crossover installation my old workflow doesn't work anymore. I think the environment has changed. So, would really apreciate if anyone could tell me how I can work around on this.
set the WINE working directory and the directory to OpenBUGS
WINE="/opt/local/bin/wine"
WINEPATH="/opt/local/bin/winepath"
OpenBUGS.pgm="/Users/marie-eve/.wine/drive_c/Program Files/OpenBUGS321/OpenBUGS.exe"
Error in bugs(data, inits, model.file = model.file1, parameters = parameters, :
Cannot find the OpenBUGS program
Then changing the last line to reflect the address:
OpenBUGS.pgm="/Users/marie-eve/Library/Application Support/CrossOver/Bottles/OpenBUGS323setup.exe/drive_c"
I got the follwoing:
sh: /opt/local/bin/winepath: No such file or directory
Error in system(paste(WINEPATH, "-w", x), intern = TRUE) :
error in running command