As the help files says, "...like the Unix program tee". I thought sink only diverted to a file. Thanks! -Bob
> -----Original Message----- > From: Thomas Lumley [mailto:[EMAIL PROTECTED] > Sent: Friday, August 24, 2007 2:17 PM > To: Muenchen, Robert A (Bob) > Cc: r-help@stat.math.ethz.ch > Subject: Re: [R] Saving results from Linux command line > > > There could still be functions that divert a copy of all the output to > a > file, for example. And indeed there are. > > sink("transcript.txt", split=TRUE) > > -thomas > > On Fri, 24 Aug 2007, Muenchen, Robert A (Bob) wrote: > > > I looked long and hard for that information. Thank you VERY much! - > Bob > > > >> -----Original Message----- > >> From: Richard M. Heiberger [mailto:[EMAIL PROTECTED] > >> Sent: Friday, August 24, 2007 1:52 PM > >> To: Muenchen, Robert A (Bob); r-help@stat.math.ethz.ch > >> Subject: Re: [R] Saving results from Linux command line > >> > >> There can't be functions in the R language to save the transcript > >> of a session. In this respect R is a filter. It takes an input > >> stream of text and returns an output stream of text. R doesn't > >> remember > >> the streams. The Windows RGui remembers them. The ESS *R* buffer > >> remembers > >> them. Any terminal emulator could in principle remember them. > >> R itself can't. > > > > ______________________________________________ > > R-help@stat.math.ethz.ch mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide http://www.R-project.org/posting- > guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > Thomas Lumley Assoc. Professor, Biostatistics > [EMAIL PROTECTED] University of Washington, Seattle ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.