Re: [Rd] Two documentation questions

2009-03-05 Thread Kevin R. Coombes
Prof Brian Ripley wrote: On Wed, 4 Mar 2009, Terry Therneau wrote: [SNIP] 2. In the pdf for the survival package, or at least the one generated by R CMD check, the entries are in a random order. Can I fix this? It makes reading the document to look for errors rather challenging. (That is,

Re: [Rd] Two documentation questions

2009-03-05 Thread Prof Brian Ripley
On Wed, 4 Mar 2009, Terry Therneau wrote: 1. I often like to put bits of the output into the manual pages. (We can have a discussion of the value of this elsewhere -- I think it is sometimes a good thing.) I presume you mean in the \examples section of the .Rd files, not elsewhere in the hel

Re: [Rd] Two documentation questions

2009-03-04 Thread Gabor Grothendieck
Perhaps you could just place the output in comments. print(5) # 5 head(BOD, 2) # Time demand # 118.3 # 22 10.3 On Wed, Mar 4, 2009 at 8:38 PM, Terry Therneau wrote: >  1. I often like to put bits of the output into the manual pages.  (We can > have a discussion of the value of t

[Rd] Two documentation questions

2009-03-04 Thread Terry Therneau
1. I often like to put bits of the output into the manual pages. (We can have a discussion of the value of this elsewhere -- I think it is sometimes a good thing.) In R I need to surround these with \dontrun{} for the sake of the tester, which is fine. But the printed output contains