Many thanks to Peter and Brian for their help; it was indeed a permissions 
problem; thanks also to Josh Paulson of the RStudio team for pointing me to 
instructions for making the necessary changes.

But at the risk of seeming not only ungrateful and pedantic, but also 
off-topic, can I point out that all this strictly only answers part of my 
question, which was "why **all of a sudden** I can't quit?" (emphasis added).

I'm not conscious of changing permissions, so apparently this was something 
that was done to me, rather than something that I did.

All I know is that the issue seemed to crop up after I installed RStudio.

Best wishes,

Julian Wells



Begin forwarded message:

> From: r-help-requ...@r-project.org
> Subject: R-help Digest, Vol 122, Issue 5
> Date: 5 April 2013 11:00:08 GMT+01:00
> To: r-help@r-project.org
> Reply-To: r-help@r-project.org


> On Apr 3, 2013, at 23:58 , Julian Wells wrote:
> 
>> Can someone explain why all of a sudden I can't quit?
> 
> Almost certainly because you have a .Last function that fails. Either get rid 
> of it, or try q("n", runLast=FALSE).
> 
> -pd

> ------------------------------
> 
> Message: 6
> Date: Thu, 04 Apr 2013 12:33:24 +0100
> From: Prof Brian Ripley <rip...@stats.ox.ac.uk>
> To: r-help@r-project.org
> Subject: Re: [R] Problem quitting
> Message-ID: <515d6504.4070...@stats.ox.ac.uk>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 04/04/2013 12:17, peter dalgaard wrote:
>> 
>> On Apr 3, 2013, at 23:58 , Julian Wells wrote:
>> 
>>> Can someone explain why all of a sudden I can't quit?
>> 
>> Almost certainly because you have a .Last function that fails. Either get 
>> rid of it, or try q("n", runLast=FALSE).
> 
> I don't think so.  This seems to be R.app on a Mac, and that has a 
> custom q() function.  Now q("n") is never valid, but the R.app version 
> does not tell you so.
> 
> As it says, it is a permission issue when trying to save.

______________________________________________
R-help@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.

Reply via email to