ywh19860616 发表于 2012-4-20 08:11 
谢谢epoh老师,我看到论坛上说明,是不是用R运行速度会比Winbugs慢许多?
哈哈,R甚么时候成了代罪羔羊
R只是呼叫 WinBUGS,只要还是由 WinBUGS执行任务
他只是方便
后段任务
The R2WinBUGS package provides convenient functions to call WinBUGS from R. 
It automatically writes the data and scripts in a format readable by WinBUGS 
for processing in batch mode, which is possible since version 1.4. 
After the WinBUGS process has finished, it is possible either to
 read the resulting data 
into R by the package itself- which gives a compact graphical summary of inference and 
convergence diagnostics-or to use the facilities of the coda package 
for further analyses of the output.