[R] R2OpenBUGS quesion

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Jul 13 18:51:01 CEST 2012



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]]
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list