[R] Logging an R session to file?

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Oct 26 08:08:08 CEST 2000


Mike Beddo wrote:
> 
> 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?


Have a look at the function sink().

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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