[R] Logging an R session to file?

Mike Beddo meb at dataventures.com
Wed Oct 25 23:51:03 CEST 2000

Prof Ripley,

It's been many years since I used S or S-plus, so it's hard to remember
what I had then. My S book, "An Interactive Enviroment For Data Analysis
and Graphics," by R. Becker and J. Chambers, on page 139 (Keeping Track of
an Analysis: Sink and Diary) says "Executing diary() activates a
diary-keeping facility in S which appends the date and time to the file
''diary'' in the current UNIX directory. This is followed by all
expressions subsequently typed to S."

I'm new to R, but this seems too useful a facility to be overlooked? Or
maybe R users do it a different way?

- Mike Beddo

> On Wed, 25 Oct 2000, Mike Beddo wrote:
> > Is there a R function like "diary()" under S? I tried the docs but no
> Is there an S function like diary()?  It is not in S-PLUS 3.4 or 5.1.
> If you have it seems it must be a local extension.
> --
> 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 mailing list