[Rd] Show location of workspace image on quit?

From: Barry Rowlingson <b.rowlingson_at_lancaster.ac.uk>
Date: Fri, 05 Jun 2009 12:53:56 +0100


When I quit R, it says:

> q()

 Save workspace image? [y/n/c]:

 and since I've probably got 3 R sessions running in however many different directories and I might have jumped around with setwd() , I forget exactly where R wants to save its workspace image. So could q() be changed to say what file it is going to save to before it does?

 Currently I have to hit 'c', then do getcwd(), then quit again. Would something like

> q()

 Save workspace image (/home/me/workspace/.RData)? [y/n/c]:

 be useful to anyone else? Just thought I'd ask before I dive into internals or wrap the q function for myself.

Barry



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 05 Jun 2009 - 11:58:04 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 - 13:35:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive