[R] capturing errors in Sweave

Berwin A Turlach berwin at maths.uwa.edu.au
Tue Mar 2 17:58:33 CET 2010

G'day Sundar,

On Tue, 2 Mar 2010 01:03:54 -0800
Sundar Dorai-Raj <sdorairaj at gmail.com> wrote:

> Thanks, Berwin. That works just great!

You are welcome.

I noticed by now that "cat(tmp)" is sufficient; the "tmp[1]" in 
"cat(tmp[1])" was a left over from earlier attempts to get the output
to look correct.



More information about the R-help mailing list