[Rd] How to do get verbatim in Rd files

Warnes, Gregory R gregory_r_warnes at groton.pfizer.com
Wed Jul 23 18:00:36 MEST 2003


Attached is a patch to $RSRC/share/perl/R/Rdconv.pm that adds support for
\verbatim{ ... } to the .Rd format.

-Greg

> -----Original Message-----
> From: Kurt Hornik [mailto:hornik at ci.tuwien.ac.at]
> Sent: Wednesday, July 16, 2003 2:31 AM
> To: Warnes, Gregory R
> Cc: 'R-devel at stat.math.ethz.ch'
> Subject: Re: [Rd] How to do get verbatim in Rd files
> 
> 
> >>>>> Warnes, Gregory R writes:
> 
> > I want to include a multi-line code block in the details 
> section of a R
> > manual page.  How do I get an appropriate verbatim-like environment?
> > \verbatim{...} doesn't do the trick,  neither does \code{...}.
> 
> I don't think this is currently possible.
> 
> It would certainly be nice to have something like texinfo's
> @smallexample ...
> 
> Best
> -k
> 



LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.


More information about the R-devel mailing list