[R] R2WinBugs problem
Mark Irwin
irwin at markirwin.net
Thu Sep 9 22:53:00 CEST 2010
I'm having difficulty running R2WinBugs on a setup that previously
worked for me (Dell Laptop, Windows XP service pack 3, R 2.11.1, WinBugs
1.43) . When I issue the following command
smds.sim <- bugs (data, inits, parameters, "SMDSbrandLoc2.bug",
debug = T,
n.thin = n.thin,
n.chains = n.chains,
n.burnin = n.burnin,
n.iter = n.iter)
I get the following error in R
Error in while (.regexpr("\r", info) > 0) { : argument is of length zero
Also in WinBugs I get the following messages
dic.set()
command #Bugs:dic.set cannot be executed (is greyed out)
update(5)
coda(*,C:/DOCUME~1/irwin/LOCALS~1/Temp/RtmpOwZetY/coda)
command #Bugs:coda cannot be executed (is greyed out)
stats(*)
command #Bugs:stats cannot be executed (is greyed out)
dic.stats()
DIC
history(*,C:/DOCUME~1/irwin/LOCALS~1/Temp/RtmpOwZetY/history.odc)
command #Bugs:history cannot be executed (is greyed out)
I am able to run the analysis on a Mac under Parallel Desktop (XP
Service Pack 3, R 2.11.1, WinBugs 1.43) and on an Amazon Cloud Machine
(R 2.11.1, WinBugs 1.43, not sure which version of Windows).
Does anybody have any idea what might be causing that error? An even
better, an idea how to fix it?
Mark
--
Mark Irwin
irwin at markirwin.net
http://www.markirwin.net/
More information about the R-help
mailing list