From: Rodney S. <rsp...@mc...> - 2009-03-18 20:49:37
|
-------- Original Message -------- Subject: Re: strange error with bugs() on Mac OSX Date: Thu, 12 Mar 2009 09:19:02 -0500 From: Rodney Sparapani <rsp...@mc...> To: Luca Pozzi <luc...@AS...> References: <BUGS%200...@JI...> > > ------------------------------------------------------------------------ > hello, I am trying to run bugs() from a Mac (yes, I really need to > use > WinBUGS and not JAGS although the latter works better), but some > problem > occurs and R prints the following > > fixme:keyboard:RegisterHotKey (0x1002a,13,0x00000002,3): stub > fixme:ole:GetHGlobalFromILockBytes cbSize is 13824 > err:ole:CoGetClassObject class {0003000a-0000-0000-c000-000000000046} > not > registered > err:ole:CoGetClassObject class {0003000a-0000-0000-c000-000000000046} > not > registered > err:ole:CoGetClassObject no class object > {0003000a-0000-0000-c000-000000000046} could be created for context > 0x3 > Errore in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = > useWINE, : > Look at the log file and > try again with 'debug=TRUE' to figure out what went wrong within > Bugs. > > but this message is no use since: > -debug=TRUE: this option only keep WB open after the run, so that, if > any error message is displayed in WB you will be able to read it. But > this time no WB error message appears and so this suggestion from R > isquite a default message that is of no help this time. > > .log file: the problem is that, being the .log file nothing but a > trnscription of the lines appearing on the WB command line there is no > .log because in my > case WB stops before running, before even starting to process the > model and so > on, the only thing that happens is WB opening and showing the licence > agreement. > This, together with the message printed out on R command line, make me > think to an error in the licence registration, but I can't find it.. > moreover before the expiration of my previous key the R2B interface > worked well, but I have installed the new one (several times, just in > case...) but nothing's changed... when I tried again with the old key > I received an additional message of expired key, when I run again the > immortal key nothing changes (it probably doesn't load the new one > correctly). > > notice that WB runs fine if I run it directly.. > > Please help me... > > Luca Pozzi Hi Luca: It looks like you are using R2WinBUGS, correct? Make sure that you have the latest version. Also, I think there is a bug in R2WinBUGS that requires the following workaround. I always have to set working.directory=".". -- Hi Gang: Luca assures me that he also needs to set working.directory=".". I know you guys aren't interested in debugging on OS X, but perhaps there could be an entry in the PROBLEMS file, or similar like README.MACOSX, that gives this simple workaround? -- Rodney Sparapani Center for Patient Care & Outcomes Research (PCOR) Sr. Biostatistician http://www.mcw.edu/pcor 4 wheels good, 2 wheels better! Medical College of Wisconsin (MCW) WWLD?: What Would Lombardi Do? Milwaukee, WI, USA |