[R-SIG-Mac] Recovering from R hangs/crashes -

Barry M. Lesht blesht at gmail.com
Tue Mar 7 21:19:41 CET 2017


Wow - excellent.  Thank you a million.  I'll try that shortly.   Barry

On Tue, Mar 7, 2017 at 2:13 PM, Simon Urbanek <simon.urbanek at r-project.org>
wrote:

> Barry,
>
> thanks to your crash report I think that particular issue should be
> hopefully fixed (it took me a while to reproduce as you need a big-enough
> script open so it changes the margins plus you need to have doc restore
> enabled). Please try out R 3.3.3 (if CRAN is not synced yet you can use
> http://r.research.att.com/bin/macosx/R-3.3.3.pkg directly) - make sure is
> says "R.app GUI 1.69 (7328)".
>
> Thanks,
> Simon
>
>
>
> > On Mar 5, 2017, at 2:02 PM, Barry M. Lesht <blesht at gmail.com> wrote:
> >
> > Hi - In an off-list e-mail exchange David Diez suggested that the little
> > bash function I put together might be useful for others.  This isn't a
> > 'fix,' just a way to simplify getting R running again.  From David's
> > experience it sounds like the only real fix available now is to
> completely
> > erase your hard drive and re-install Sierra, R, etc.
> >
> > My problems with R generally occur when I attempt to open an existing
> file
> > when working in R.  I use "standard" R with the R GUI from CRAN.  Instead
> > of seeing the list of available files, an empty window appears along with
> > the dreaded spinning beach ball.  At this point I have to go to the
> Finder
> > and force R to quit.
> >
> > I added the following function to my .bashrc file:
> >
> > function fixRhang()
> > {
> > cd ~/Library/Saved\ Application\ State
> > rm -R org.R-project.R.savedState/
> > cd
> > rm .Rhistory
> > }
> >
> > After I force R to quit, I open an XQuartz window, and just enter
> >
> > bash-3.2$ fixRhang
> >
> > At this point, I can open R again and continue working (though obviously
> > the command history is empty).
> >
> > I'm sure that there are better (or more efficient) ways of accomplishing
> > this, but it works for me.
> >
> >       [[alternative HTML version deleted]]
> >
> > _______________________________________________
> > R-SIG-Mac mailing list
> > R-SIG-Mac at r-project.org
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> >
>
>

	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list