Re: [Rd] literate programming

2008-08-07 Thread Friedrich . Leisch
On Wed, 6 Aug 2008 10:25:38 -0500 (CDT), Terry Therneau (TT) wrote: ESS supported noweb before Sweave existed. That is the bit I didn't know. What I was rather looking for was a noweb mode that knows about S formatting, and here it was available all along. I've used a

Re: [Rd] literate programming

2008-08-06 Thread Friedrich . Leisch
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

Re: [Rd] literate programming

2008-08-06 Thread Terry Therneau
ESS supported noweb before Sweave existed. That is the bit I didn't know. What I was rather looking for was a noweb mode that knows about S formatting, and here it was available all along. I've used a version of ESS for a lng time - probably should re-read the documentation one of

[Rd] literate programming

2008-08-05 Thread Terry Therneau
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,

Re: [Rd] literate programming

2008-08-05 Thread Kevin R. Coombes
Hi Terry, You can do this with Sweave (and something smart like emacs with ESS installed as your editor), but you have to work at it a little. The key is the fact that a couple of releases ago they added options for keep.source and expand. For example, you do the following: First, describe

Re: [Rd] literate programming

2008-08-05 Thread Berwin A Turlach
G'day Terry, On Tue, 5 Aug 2008 09:38:23 -0500 (CDT) Terry Therneau [EMAIL PROTECTED] 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