Skip to content
Prev 105905 / 398506 Next

R2WinBUGS and calling WinBUGS in Crossover MAC BETA

Ben Bolker wrote:
Many thanks for that quick reply.  I have tried useWINE=TRUE but this 
does not work on the Mac.  I am using CrossOver for Mac Beta (6.0.0b2). 
  When I call:

bugs(..., useWINE=TRUE, newWINE=TRUE)

then I get this message:
Error in if (!nchar(WINEPATH)) { : argument is of length zero

I think the problem is that the command line call for cxoffice (similar 
to "wine") is different on the Mac from the Linux version.  For instance 
I have the following application bundles:

/Applications/CrossOver.app/
~/Applications/CrossOver/WinBUGS14.app

but I cannot figure out how to start WinBUGS14.app from the command 
line.  If I did then I could supply this command to bugs(..., WINE="").

Best,

Ken