[R] rw0632 makes stray .Rhistory orphans
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Feb 23 14:57:20 CET 1999
> Date: Tue, 23 Feb 1999 13:40:26 +0100
> From: Guido Masarotto <guido at hal.stat.unipd.it>
> On Tue, Feb 23, 1999 at 12:09:08PM +0100, Karl M. Syring wrote:
> > If you start Rterm/Rgui from the cmd (NT4.4) command line, the .Rhistory and
> > .RData files are created/used in the current directory.
> > I think, R should honor HOME or even the USERPROFILE variable.
> This is modelled on the Unix behaviour. About .RData, I strongly
> believe that it is a very sensible (and useful) behavior
> (I use different directories for different projects or data
> and WANT different .RData).
> About .RHistory is more a matter of taste. Probably, I agree
> that one .RHistory is enough.
I don't agree. I want the record to be per-project. S has an audit
mechanism for each project, and .Rhistory is the nearest equivalent.
It is very helpful to be able to find out a year or more later what one
did on a particular project, possibly crucial.
> BTW, since we are speaking on .RHistory: under Unix,
> I would like to have the command history saved
> also when one doesn't save the workspace; now, exiting
> with q("no") or friends doesn't update .RHistory.
I could point out that ESS inferior-R-mode does that whether you like
it or not. (There may be variable that turns it off, but I haven't
found it (nor looked for it).
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 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help