Dear all R members
I have a problem in the R when i wanted to call winbugs as following

#Input data set for WinBUGS
    thd18 <-read.table("C:/Users/hp/Desktop/thd18.txt")

    #Input data set for WinBUGS
    data<-list(N1=2000,N2=2000,P=9,R=Ro,z1=yo1,z2=yo2,thd18)

#Call WinBUGS
    model<-bugs (data,inits,parameters,model.file="D:/Run/model.txt",
    n.chains=2,n.iter=5000,n.burnin=1000,n.thin=1,DIC=TRUE,
    bugs.directory="c:/Program Files/WinBUGS14/",
    working.directory="D:/Run/")

and the problem is
Error in is.finite(x) : default method not implemented for type 'list'

Any guidance would be highly appreciated

-- 
Thanoon Y. Thanoon
PhD Candidate
Department of Mathematical Sciences
Faculty of Science
University Technology Malaysia, UTM
E.Mail: thanoon.youni...@gmail.com
E.Mail: dawn_praye...@yahoo.com
Facebook:Thanoon Younis AL-Shakerchy
Twitter: Thanoon Alshakerchy
H.P:00601127550205

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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