[R] Sweave and printing error

Christophe Genolini cgenolin at u-paris10.fr
Tue Mar 25 22:12:36 CET 2008


Hi the list.

I am writing a tutorial for my student using LaTeX and sweave. I include 
some example that work (obiously) but I would also like to include some 
example that do NOT work (for pedagogie)...
Is it possible ?

At this point, I find that :
 - if there is a error in the code, Sweave stop
 - if I put the error in try(), Sweave compile but does not print the 
error as output.

Any solution ?

Thanks a lot

Christophe



More information about the R-help mailing list