[R] Add notes to sink output
(Ted Harding)
Ted.Harding at manchester.ac.uk
Mon Oct 13 22:12:57 CEST 2008
On 13-Oct-08 20:02:20, Michael Just wrote:
> Hello,
> How can I add notes (i.e. text) to a sink output?
>
> sink("test.txt")
>#This text will describe the test
> summary(x)
> sink()
>
> How can I add that text above to the sink output?
> Thanks,
> Michael
Anything on the lines of:
sink("test.txt")
cat("This text will describe the test\n")
cat("--------------------------------\n")
summary(x)
sink()
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 13-Oct-08 Time: 21:12:54
------------------------------ XFMail ------------------------------
More information about the R-help
mailing list