[Rd] literate programming

Friedrich.Leisch at stat.uni-muenchen.de Friedrich.Leisch at stat.uni-muenchen.de
Wed Aug 6 09:53:30 CEST 2008


>>>>> On Tue, 5 Aug 2008 09:38:23 -0500 (CDT),
>>>>> Terry Therneau (TT) wrote:

  > I'm working on the next iteration of coxme.  (Rather slowly during
  >   the summer).  This is the most subtle code I've done in S, both
  >   mathematically and technically, and seems a perfect vehicle for
  >   the "literate programming" paradym of Knuth.  The Sweave project
  >   is pointed at S output however, not source code.  I would
  >   appreciate any pointers to an noweb type client that was
  >   R-aware.
  
  >   Other suggestions are welcome as well.  At the end of the day
  > I'd like to have a good user guide, technical reference, and solid
  > enough code documentation that others can begin to participate as
  > well.  (Retirement in 10 years -- I don't expect to maintain this
  > forever!)
  
Why not use the original noweb in the first place? You can even
maintain Sweave files with it, the Sweave latex syntax was written for
exactly that purpose ...

ESS supported noweb before Sweave existed. In fact the emacs noweb
mode was the main reason I chose that syntax for Sweave, and the latex
syntax was added lateron because some people write whole packages using
noweb and would have had a syntax conflict in their vignettes.

Best,
Fritz



More information about the R-devel mailing list