Skip to content

problem in R2OpenBUGS

4 messages · thanoon younis, Jeff Newmiller

#
Dear R- users

I have a problem in the R-code, i want to draw some plots in R,however,
when i write the following code the R-program stopped suddenly. The message
is  "R for WINDOWS GUI front-end has stopped working". How can i solve this
problem please?

## some plots
  samplesBgr("lam[1:6]") # plot the bgr statistics, and
  samplesAutoC("lam[1:6]", 1) # plot autocorrelations of 1st chain



Regards
#
This is not a reproducible example, and posting in HTML format frequently corrupts R code so don't do it.
#
Thank you very much for your response, how can i solve this problem, i want
to draw at least BGR plots?


Regards
On 11 June 2016 at 21:33, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:

            

  
    
#
That is my point... we cannot see your problem on our computers because you have not given us sample data and code that does anything. For one thing, the samplesBgr function is part of the BRugs package, not the R2OpenBUGS package, so your subject line does not make sense.  For another, samplesBgr cannot do anything unless a BUGS model has been compiled, burned in, and run. 

Have you been able to run a known-good example like [1]? What is the output of the sessionInfo function just before you try to run samplesBgr?

[1] https://theoreticalecology.wordpress.com/setting-up-openbugs-and-r/