[R] problem in R

thanoon younis thanoon.younis80 at gmail.com
Mon Jan 5 18:03:32 CET 2015


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.younis80 at gmail.com
E.Mail: dawn_prayer80 at yahoo.com
Facebook:Thanoon Younis AL-Shakerchy
Twitter: Thanoon Alshakerchy
H.P:00601127550205

	[[alternative HTML version deleted]]



More information about the R-help mailing list