Openbugs in R, log.txt not found

#1
Hi there,

I am a new comer of both R and Openbugs. Now I am trying to run a multi-level model using Openbugs in R. I can get the result in the Openbugs window when it is called in R. But after close the Openbugs window, an error 'Error in bugs.log("log.txt") : Log filelog.txtdoes not exist' always shows and the result cannot be obtained. Could anyone know why this is the case?

Many thanks.
 
#2
Hi there,

I am a new comer of both R and Openbugs. Now I am trying to run a multi-level model using Openbugs in R. I can get the result in the Openbugs window when it is called in R. But after close the Openbugs window, an error 'Error in bugs.log("log.txt") : Log filelog.txtdoes not exist' always shows and the result cannot be obtained. Could anyone know why this is the case?

Many thanks.
And the error message in OpenBugs is "Something went wrong in produce Factory.New in module SamplesHistroy." The screen capture is attached.