From: Gorjanc G. <Gre...@bf...> - 2008-02-15 14:51:06
|
Hi, sorry for late response - I am out of office these days. Read bellow > Ok, to debug this a bit better, I'm following the example in ?bugs. For > the actual calling of bugs() I did: > > ---<---------------cut here---------------start-------------->--- > bugs.directory <- "/home/sluque/.cxoffice/WinBUGS/drive_c/Program Files/WinBUGS14" > WINE <- "/opt/cxoffice/bin/wine" > schools.sim <- bugs(data, inits, parameters, model.file, > n.chains=3, n.iter=5000, > bugs.directory=bugs.directory, > working.directory=NULL, clearWD=TRUE, > WINE=WINE, newWINE=FALSE) > ---<---------------cut here---------------end---------------->--- > > using as much information as I can gather from Crossover. This should be OK, but the problem is that winepath binary is not available as we have discussed earlier. You could perhaps try if a copy of winepath binary from wine could be of some use. You can also contact Crossover makers, why they strip out winepath binary - perhaps this is provided somewhere else? > This uses Gregor's suggestion (newWINE=FALSE), although the result was the same. > Again, this is the error message: > > ---<---------------cut here---------------start-------------->--- > R> schools.sim <- bugs(data, inits, parameters, model.file, > + n.chains=3, n.iter=5000, > + bugs.directory=bugs.directory, > + working.directory=NULL, clearWD=TRUE, > + WINE=WINE, newWINE=FALSE) > Error in findUnixBinary(x = "winepath") : > couldn't find winepath binary file > ---<---------------cut here---------------end---------------->--- That is odd. Using newWINE=FALSE should try to use ~/.wine/config file. Do you have this file? Regards, gregor |