Hi, I'm writing to ask what is the reason that a Trap window always pops up in WinBUGS? I'm tring to run the function 'bugs' in R for a zero-inflated gaussian model. The contents appear in the Trap window is as follows:
*incompatible copy BugsCmds.TextError [000003A1H] .beg INTEGER 1636169112 .end INTEGER 16861596 .name ARRAY 256 OF CHAR "C:/Documents and Settings/BaBaoZ" ... .pos INTEGER 208 .text TextModels.Model [0100DEA0H] .v Views.View [01027520H] BugsCmds.Parse [00000470H] .name ARRAY 256 OF CHAR "C:/Documents and Settings/BaBaoZ" ... .s BugsScanners.Scanner Fields StdInterpreter.CallProc [0000047AH] .a BOOLEAN FALSE .b BOOLEAN FALSE .c BOOLEAN FALSE .i Meta.Item Fields .imported ARRAY 256 OF CHAR "" ... .importing ARRAY 256 OF CHAR "" ... .mn Meta.Name "BugsCmds" .mod StdInterpreter.Ident "BugsCmds" .object ARRAY 256 OF CHAR "" ... .ok BOOLEAN TRUE .parType INTEGER 3 .pn Meta.Name "Parse" .proc StdInterpreter.Ident "Parse" ... .res INTEGER 0 .v StdInterpreter.ProcVal Fields .vi StdInterpreter.ProcIVal Fields .vii StdInterpreter.ProcIIVal Fields .vr StdInterpreter.ProcRVal Fields .vri StdInterpreter.ProcRIVal Fields .vrii StdInterpreter.ProcRIIVal Fields .vrr StdInterpreter.ProcRRVal Fields .vrri StdInterpreter.ProcRRIVal Fields .vrrii StdInterpreter.ProcRRIIVal Fields .vrs StdInterpreter.ProcRSVal Fields .vrsi StdInterpreter.ProcRSIVal Fields .vrsii StdInterpreter.ProcRSIIVal Fields .vs StdInterpreter.ProcSVal Fields .vsi StdInterpreter.ProcSIVal Fields .vsii StdInterpreter.ProcSIIVal Fields .vsr StdInterpreter.ProcSRVal Fields .vsri StdInterpreter.ProcSRIVal Fields .vsrii StdInterpreter.ProcSRIIVal Fields .vss StdInterpreter.ProcSSVal Fields .vssi StdInterpreter.ProcSSIVal Fields .vssii StdInterpreter.ProcSSIIVal Fields StdInterpreter.Command [0000131CH] .left StdInterpreter.Ident "BugsCmds" .ptype INTEGER 3 .right StdInterpreter.Ident "Parse" ... StdInterpreter.CallHook.Call [00001441H] .ch CHAR 0X .e ARRAY 64 OF CHAR "" ... .errorMsg ARRAY 1 OF CHAR "" .f ARRAY 64 OF CHAR "" ... .g ARRAY 64 OF CHAR "" ... .hook StdInterpreter.CallHook [01060050H] .i INTEGER 112 .i0 INTEGER 0 .i1 INTEGER 0 .id StdInterpreter.Ident "Parse" ... .par0 Dialog.String "" ... .par1 Views.Title "" ... .proc ARRAY 240 OF CHAR "BugsCmds.Parse('C:/Documents and" ... .res INTEGER 0 .s0 Dialog.String "C:/Documents and Settings/BaBaoZ" ... .s1 Dialog.String "" ... .type INTEGER 3 .x INTEGER 0 Dialog.Call [00002FC8H] .errorMsg ARRAY 1 OF CHAR "" .proc ARRAY 240 OF CHAR "BugsCmds.Parse('C:/Documents and" ... .res INTEGER 0 BugsScript.Call [00000130H] .bugsCommands ARRAY 240 OF CHAR "BugsCmds.SetOK; BugsCmds.Clear; " ... .i INTEGER 143 .item Meta.Item Fields .j INTEGER 111 .ok BOOLEAN FALSE .par Dialog.Par Fields .pos INTEGER -1 .res INTEGER 0 .s ARRAY 240 OF CHAR "BugsCmds.Parse('C:/Documents and" ... .scriptCommand ARRAY 240 OF CHAR "#Bugs:check" ... .start INTEGER 106 .v BugsScript.RECORD Fields BugsScript.Action.Do <http://bugsscript.action.do/> [0000062FH] .a BugsScript.Action [011D4F80H] .argNum INTEGER 0 .bugsCommands ARRAY 240 OF CHAR "BugsCmds.SetOK; BugsCmds.Clear; " ... .p ARRAY 3, 120 OF CHAR Elements .s BugsScanners.Scanner Fields .scriptCommand ARRAY 240 OF CHAR "#Bugs:check" ... .vectorName BOOLEAN FALSE Services.Exec [00000136H] .a Services.Action [011D4F80H] .t POINTER [62AF0170H] Services.IterateOverActions [000002F4H] .p Services.Action [011D4F80H] .t POINTER NIL .time LONGINT 19009968 Services.StdHook.Step [0000034DH] .h Services.StdHook [0101E380H] HostWindows.Idle [00004A86H] .focus BOOLEAN FALSE .tick Controllers.TickMsg Fields .w HostWindows.Window NIL HostMenus.TimerTick [00003422H] .lParam INTEGER 0 .ops Controllers.PollOpsMsg Fields .wParam INTEGER 1 .wnd INTEGER 2097602 Kernel.Try [00003A61H] .a INTEGER 2097602 .b INTEGER 1 .c INTEGER 0 .h PROCEDURE HostMenus.TimerTick HostMenus.ApplWinHandler [00003841H] .Proc PROCEDURE NIL .hit BOOLEAN FALSE .lParam INTEGER 0 .message INTEGER 275 .res INTEGER 4243644 .s ARRAY 256 OF SHORTCHAR "½À" ... .w INTEGER 2147348480 .wParam INTEGER 1 .wnd INTEGER 2097602 <system> (pc=7E418733H, fp=0023FB84H) <system> (pc=7E418815H, fp=0023FBECH) <system> (pc=7E4189CCH, fp=0023FC4CH) <system> (pc=7E4196C6H, fp=0023FC5CH) HostMenus.Loop [00003BDEH] .done BOOLEAN FALSE .f SET {0..5} .n INTEGER 0 .res INTEGER 0 .w HostWindows.Window NIL Kernel.Start [00002B8CH] .code PROCEDURE HostMenus.Loop* Thanks a lot! Dongli Zhou [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.