[R] Session Logging

Stan Smiley swsmiley at genetics.utah.edu
Fri Dec 12 23:00:17 CET 2003


> On Fri, Dec 12, 2003 at 12:55:43PM -0700, Stan Smiley wrote:
> > I'm using R from a Linux command prompt, and am logging the whole 
> > session by tee'ing the R invocation line. ie. R | tee -a Rlog.txt
> > 
> > Is there a better way to log all the session input and output from 
> > within R?
> 
> ?sink


But wouldn't sink also hide all the console output as it was piped to the
output file. I want to be able to work interactively at the console but
still log all the in/output to a file.

Stan.




More information about the R-help mailing list