Thank you Duncan, for expanding Sweave functionality, notably considering error handling.
Related to that is the topic of handling warning messages. In a course on "using R" (for beginners), I would really like to show warnings that code chunks produce. Currently, the warnings are printed to the console when I run 'R CMD Sweave ..' and do not appear in the resulting *.tex file. Of course --- fortune("Yoda") --- I can always fudge what I want, but it would be quite desirable to have simple Sweave option which would deal with warnings() { and maybe message(), stop(), and general exception handling; but for all practical purposes, it's the warnings that I'd like to be handled automatically.} Martin Maechler, ETH Zurich ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel