Re: [Rd] Show location of workspace image on quit?

From: Duncan Murdoch <>
Date: Fri, 05 Jun 2009 09:55:05 -0400

On 6/5/2009 9:46 AM, Barry Rowlingson wrote:
> On Fri, Jun 5, 2009 at 1:46 PM, Mathieu Ribatet<> wrote:

>> I guess that having something like this
>>> q()
>>> Save workspace image (/home/me/workspace/.RData)? [y/n/c/e]:
>> where "e" means Editing the path should be clear enought, isn't it?

> 'e' might be thought to mean 'exit' in English, which makes me think
> we also need to make sure this can all be translated. Maybe 'p' for
> path? Or 'e' for 'elsewhere'? This is getting tricky :)
> I think I'd rather leave off the 'e' option for simplicity - if the
> user wants to save elsewhere they can hit 'c' and do save() or
> setcwd() themselves, I'm not sure we need to put extra functionality
> into the q function.

An alternative to think about is to report where the file was saved, rather than tease the user by suggesting s/he has a choice. This is a bit harder in the GUIs, but would be very easy in a console, just print the path after quitting:

Save workspace image? [y/n/c]: y
Image saved to /home/me/workspace/.RData

In the Windows GUI you could pop up a dialog box to say this, with a checkbox saying "don't show me this next time".

Duncan Murdoch mailing list Received on Fri 05 Jun 2009 - 14:17:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 05 Jun 2009 - 16:34:53 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive