[R] Saving results from Linux command line
Thomas Lumley
tlumley at u.washington.edu
Fri Aug 24 20:17:14 CEST 2007
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:rmh at temple.edu]
>> Sent: Friday, August 24, 2007 1:52 PM
>> To: Muenchen, Robert A (Bob); r-help at 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 at 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
tlumley at u.washington.edu University of Washington, Seattle
More information about the R-help
mailing list