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
ir...@markirwin.net
http://www.markirwin.net/

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

Reply via email to