I am running MCMC chains with a self written MCMC algorithm. When I have multiple R terminals open while running the Chain, when it finishes it is not there. when I press ls() it does not show up and when I type the Name it says the Object is not found. I assume It is unrecoverable... but how do I stop it from happening in the future? Thanks Mike -- View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4104389.html Sent from the R help mailing list archive at Nabble.com.
Can you say more about how your algorithm is implemented? If it's wrapped in a function, the result might disappear with the end of the function's environment. I don't think having multiple R sessions would be a problem...it's never been for me. Michael On Thu, Nov 24, 2011 at 10:50 AM, Aldo <michael.v.clawson at gmail.com> wrote:> I am running MCMC chains with a self written MCMC algorithm. When I have > multiple R terminals open while running the Chain, when it finishes it is > not there. when I press ls() it does not show up and when I type the Name it > says the Object is not found. I assume It is unrecoverable... but how do I > stop it from happening in the future? > > Thanks > > Mike > > -- > View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4104389.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.
It works when I do not have multiple windows open, but is not there when I do have multiple windows open, so I dont think it has to do with the function.... The function is pretty complicated but I can share more if you think it will help -- View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4106379.html Sent from the R help mailing list archive at Nabble.com.
Is there a maximum memory allocation for all R windows open? because it is like 1-3 million runs.... so... it may be reaching some sort of memory limit -- View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4106390.html Sent from the R help mailing list archive at Nabble.com.
On 25.11.2011 05:07, Aldo wrote:> It works when I do not have multiple windows open,Please read the posting guide! You failed to follow in multiple way, most important one so far: quote the thread! We do not know your original question nor the answers you got so far. This is the R mailing list that is sometimes misused by Nabble user, unfortunately. Please define "multiple windows". Do you mean graphics devices, R instances, ...?> but is not there when I do > have multiple windows open, so I dont think it has to do with the > function.... The function is pretty complicated but I can share more if you > think it will helpActually, the posting guide asks you to provide commented, *minimal*, self-contained, reproducible code. Uwe Ligges> > -- > View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4106379.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.
On 25.11.2011 05:12, Aldo wrote:> Is there a maximum memory allocation for all R windows open? because it is > like 1-3 million runs???? So you mean you open a million windows at the same time? In that case we really need your definition of "window".> .... so... it may be reaching some sort of memory limitI do not know if any OS / window manager has the capability to open that many numbers of windows. But as I said, we need some difintions and examples. Uwe Ligges> -- > View this message in context: http://r.789695.n4.nabble.com/Objects-disappearing-in-my-R-work-space-tp4104389p4106390.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.