Re: [R] Running MCMC in R

2012-12-13 Thread William Dunlap
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of Bert Gunter > Sent: Thursday, December 13, 2012 6:21 AM > To: Chenyi Pan > Cc: R-help@r-project.org > Subject: Re: [R] Running MCMC in R > > ?try > ?tryCatch > > (if the su

Re: [R] Running MCMC in R

2012-12-13 Thread S Ellison
> I am now running a MCMC iteration in the R program. But it is > always stucked in some loop. I never like it when folk just say "Please read and follow the posting guide referenced in every R help email" but ... please, read and follow the posting guide referenced in every R help email if yo

Re: [R] Running MCMC in R

2012-12-13 Thread Bert Gunter
?try ?tryCatch (if the suggestion to use an MCMC package does not fix your problem). -- Bert On Wed, Dec 12, 2012 at 7:49 PM, Chenyi Pan wrote: > Dear all > I am now running a MCMC iteration in the R program. But it is always > stucked in some loop. This cause big problems for my research. So

Re: [R] Running MCMC in R

2012-12-13 Thread Whit Armstrong
Why don't you use one of the existing MCMC packages. There are many to choose from... On Wed, Dec 12, 2012 at 10:49 PM, Chenyi Pan wrote: > Dear all > I am now running a MCMC iteration in the R program. But it is always > stucked in some loop. This cause big problems for my research. So I want

[R] Running MCMC in R

2012-12-12 Thread Chenyi Pan
Dear all I am now running a MCMC iteration in the R program. But it is always stucked in some loop. This cause big problems for my research. So I want to know whether we can skip the current dataset and move to next simulated data when the iteration is stucked? Alternatively, can the MCMC chain ski