From ripley at stats.ox.ac.uk  Thu Jun  2 07:51:57 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 2 Jun 2011 06:51:57 +0100 (BST)
Subject: [Rd] Exiting R Gracefully
In-Reply-To: <20110602100009.BLX33957@gimr.garvan.unsw.edu.au>
References: <20110602100009.BLX33957@gimr.garvan.unsw.edu.au>
Message-ID: <alpine.LFD.2.02.1106020649260.9433@gannet.stats.ox.ac.uk>

On Thu, 2 Jun 2011, Dario Strbenac wrote:

> Hello,
>
> I thought I'd add this to the mailing list, in case it could be handled smoother in a future release of R.

Impossible without a reliably reproducible example (see the posting 
guide).  But it does look as if you have managed to corrupt R's 
internals too badly to 'exit gracefully'.

>
>> q()
> Save workspace image? [y/n/c]: n
>
> *** caught segfault ***
> address (nil), cause 'unknown'
>
> Possible actions:
> 1: abort (with core dump, if enabled)
> 2: normal R exit
> 3: exit R without saving workspace
> 4: exit R saving workspace
> Selection: 3
> Error: no graphics system to unregister
>>
>> q("no", runLast = FALSE)
> Error in q("no", runLast = FALSE) : no graphics system to unregister
>
> --------------------------------------
> Dario Strbenac
> Research Assistant
> Cancer Epigenetics
> Garvan Institute of Medical Research
> Darlinghurst NSW 2010
> Australia
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Exiting R Gracefully
Prof Brian Ripley