hadley wickham wrote:
> On Fri, Jun 19, 2009 at 6:12 PM, Duncan Murdoch<murdoch_at_stats.uwo.ca> wrote: >
>
> Can the R code emit top-level rdoc tags? i.e. could the complete rd
> file just be \Sexpr{} ?
There are details to be worked out (and bugs to be fixed) as this is integrated into the build/install system, but so far I can't think of any reason why that would not be possible, as long as the required tags (e.g. \alias, \name, \title) were emitted early enough.
The current plan is that you would use a name like foo.Rdin to indicate that you have code to execute before building the tarball, and the build system would emit a text .Rd file. At install time that would be converted to a binary representation which is what would be installed, and the final conversion to HTML or displayed text or other rendered format would happen as late as possible. (Ideally, this would be fully dynamic, doing the conversion when the user asks for help, but that is not feasible for all formats, and I'm not sure how much of the final implementation will be done before 2.10.0.)
Duncan Murdoch
Archive maintained by Robert King, hosted by
the discipline of
statistics at the
University of Newcastle,
Australia.
Archive generated by hypermail 2.2.0, at Sat 20 Jun 2009 - 03:30:53 GMT.
Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.