Re: [R] recover history after crash in RGui Sigbert Klinke wrote: > Hi, is there any possibility to recover the history of executed R code  > in the RGui when it has crashed? > > Thanks in advance > >   Sigbert Klinke >    Hello, It might be too much of an overkill, but one possible thing is to use  ?taskCallbackManager to save the history after each high level call.  Something like:      h <- taskCallbackManager()      h$add(function(expr, value, ok, visible) {                             savehistory()                             return(TRUE)                           }, name = "historyHandler") Cheers, Romain --  Mango Solutions data analysis that delivers Tel:  +44(0) 1249 467 467 Fax:  +44(0) 1249 467 468 Mob:  +44(0) 7813 526 123 ______________________________________________ R-help@stat.math.ethz.ch 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.