Re: [Rd] escaping 'comment' chars in example sections

2010-05-21 Thread Duncan Murdoch
Antonio, Fabio Di Narzo wrote: Dear list, I've noticed that, when writing examples in an Rd file, you need to escape the '%' character, even if it is valid R code. I can see maybe this is the intended behaviour, but I found it a bit surprising, and leads to cryptic error messages from 'R CMD chec

[Rd] escaping 'comment' chars in example sections

2010-05-21 Thread Antonio, Fabio Di Narzo
Dear list, I've noticed that, when writing examples in an Rd file, you need to escape the '%' character, even if it is valid R code. I can see maybe this is the intended behaviour, but I found it a bit surprising, and leads to cryptic error messages from 'R CMD check'. The relevant section in the "