Sorry for any cross messaging. Here are what I've tried and more info. The error sticks :(
I installed the latest R2.15.1 (64bit) on my machine, per Uwe's comments. The same error happened. Log file of WinBUGS look perfectly normal: ########################### display(log) check(C:/Jinmodel/test_codes/model_poisson.txt) model is syntactically correct data(C:/Users/Yiyi/AppData/Local/Temp/RtmpSAhD25/data.txt) data loaded compile(1) model compiled inits(1,C:/Users/Yiyi/AppData/Local/Temp/RtmpSAhD25/inits1.txt) model is initialized gen.inits() command #Bugs:gen.inits cannot be executed (is greyed out) thin.updater(1) update(0) set(beta0) set(beta1) set(beta2) set(beta3) set(deviance) dic.set() update(30) coda(*,C:/Users/Yiyi/AppData/Local/Temp/RtmpSAhD25/coda) stats(*) Node statistics node mean sd MC error 2.5% median 97.5% start sample beta0 1.652 0.7417 0.3092 1.025 1.381 4.121 1 30 beta1 1.383 0.1343 0.05416 0.8926 1.442 1.49 1 30 beta2 -0.8984 0.1197 0.0496 -1.008 -0.9378 -0.4977 1 30 beta3 1.745 0.2898 0.1212 0.7972 1.874 1.988 1 30 deviance 2461.0 4410.0 1458.0 745.0 880.1 23240.0 1 30 dic.stats() DIC Dbar = post.mean of -2logL; Dhat = -2LogL at post.mean of stochastic nodes Dbar Dhat pD DIC Y20 2461.040 1205.070 1255.970 3717.010 total 2461.040 1205.070 1255.970 3717.010 history(*,C:/Users/Yiyi/AppData/Local/Temp/RtmpSAhD25/history.odc) ####################################### -- View this message in context: http://r.789695.n4.nabble.com/Errors-when-saving-output-from-WinBUGS-to-R-tp4644899p4644936.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.