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) <[EMAIL PROTECTED]> Fax-to-email: +44 (0)870 094 0861 Date: 13-Oct-08 Time: 21:12:54 ------------------------------ XFMail ------------------------------ ______________________________________________ R-help@r-project.org 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.