[Rd] R CMD check and error in an \Sexpr in an Rd file
Renaud Gaujoux
renaud at mancala.cbio.uct.ac.za
Thu Nov 3 15:51:53 CET 2011
On 03/11/2011 16:33, Georgi Boshnakov wrote:
> Dear Renalud,,
>
>> Would a 'results=tex' (html, text) be possible? or 'results=source' that
>> could be combined with \if{format}{text}?
> This may well be a clean approach.
>
> After my previous email, I looked again at the definition of thr \AsIs macro.
> Its purpose seems to be to typeset text containing special characters in normal text mode
> and thus its purpose is different from \verb and ``verbatm' macros/environments in LaTeX.
>
Maybe using an environment such as Verbatim defined in fancyvrb would
solve the problem?
I think you can control the font, etc... still keeping the "no
formatting" of plain verbatim.
More information about the R-devel
mailing list