On 13.07.2012 03:18, elong zhang wrote:
Dear All:

Could anybody help me figure out why I get the Error message below while I
running the example code of bugs() function in R2OpenBUGS packages? I have
tried the code both in Win 7 and Ubuntu 12.04, but they show the same
message. My R version is 2.15.1 in win7 and 2.15.0 in Ubuntu.  Many thanks !


1. Please always send reproducible examples.
2. Which version of OpenBUGS and which version of R2OpenBUGS (for both there are recent updates)

Uwe Ligges



Best,

Yilong


schools.sim <- bugs(data, inits, parameters, model.file,+                     
n.chains=3, n.iter=5000)Error in matrix(, n.sims, n.parameters) :
   invalid 'nrow' value (too large or NA)

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.


______________________________________________
[email protected] 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.

Reply via email to