To: r-help@stat.math.ethz.ch
Subject: Re: [R] rw0632 makes stray .Rhistory orphans
From: rossini@biostat.washington.edu (A.J. Rossini)
Date: 23 Feb 1999 06:42:21 -0800
In-Reply-To: Prof Brian Ripley's message of "Tue, 23 Feb 1999 13:57:20 +0000 (GMT)"
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
> > 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).
There isn't (at least that I can recall). Actually, the "preferred"
(at least by me) method of using ESS is to keep a buffer of the
commands, running in R-mode (or similar), and just dump and edit
line-by-line, using the send-current-line command (it has a real name
which escapes me now). This allows you to avoid including typos in
your history, which sometimes is nice.
Then, write out the actual process buffer as a "running" transcript,
save your command file as the "history", etc...
(The current preferred philosophy states that "Emacs buffer contents
and file contents are the truth, and the .RData/.Data/_Data contents
are temporary manifestations of the truth, to be recreated from the
buffer/file contents as needed". Like all philosophies, you are free
to roll your own).
best,
-tony
-- A.J. Rossini UW Biostatistics & Center for AIDS Research 206-543-1044 / 206-720-4282 rossini@biostat.washington.edu http://www.biostat.washington.edu/~rossini/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._