Displaying 1 result from an estimated 1 matches for "includeexamples".
2006 Jun 20
2
Documentation issues [Was: Function hints]
I would like to follow up on another one of the documentation issues raised in the discussion on function hints. Duncan mentioned that the R core were working on preprocessing directives for .Rd files, which could possibly include some sort of include directive. I was wondering if a "includeexamples" directive might also be considered.
It often makes sense to use the same example to illustrate the use of different functions, or perhaps extend an example used to illustrate one function to illustrate another. One way to do this is simply to put
example(fnA)
in the \examples for fnB, but...