[R] rw0632 makes stray .Rhistory orphans

A.J. Rossini rossini at biostat.washington.edu
Tue Feb 23 15:42:21 CET 1999


Prof Brian Ripley <ripley at 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 at 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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list