CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

CrossOver Mac
Discussion about CrossOver Mac

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

OpenBugs: Error No such file or directory

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

First thing that pops is that the second path is not complete. You installed OpenBUGS in bottle "OpenBUGS323setup.exe" (you could have renamed it to just OpenBUGS - less confusing) so, the path should be:


/Users/marie-eve/Library/Application Support/CrossOver/Bottles/OpenBUGS323setup.exe/drive_c/Program Files/OpenBUGS/OpenBUGS321/OpenBUGS.exe

A default install put everything in C:/Program Files/OpenBUGS/OpenBUGS321/

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi01LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzA4NjEzODE4LCJjc3JmX3Rva2VuIjoiN2NIeWtXR3lHWGZGejI2MyIsImdkcHIiOjB9