AW: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-11 Thread Khamenia, Valery
An simpler alternative to code would be to allow one to eval-chunk-and-step, stepping through chunks, similar to C-c C-n for stepping through lines. Would this solve the basic problem? 3 x (2 or 3 keystrokes) for 3 chunks. hm, not really ideal... I can't imagine an evaluation which would

AW: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-10 Thread Khamenia, Valery
Is selecting and 'C-c C-r'-ing the 3 chunks separately that bad? Yes. The UI should take care of it for him. right. Others may have better suggestions. A bit more work on the chunk evaluation approach within Emacs is one; it almost does what is needed, but not quite. why almost,

AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-10 Thread Khamenia, Valery
hi tony, What exactly do you mean by this? 1. generation of Sweave-style docs from R programs or interaction? neither (if i correctly interpret your question). 2. tools for doing docs and analysis at the same time? Emacs Speaks Statistics has supported this with R since last century

Re: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-10 Thread A.J. Rossini
Khamenia, Valery [EMAIL PROTECTED] writes: I think just smarter C-c C-r would be kind of trade-off here. hm, maybe there are some other voices here similar to mine? It would be easier to discuss the subj. Within ESS, you've got the ess-thread-eval (similar to ess-chunk-eval), so the guts

AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-09 Thread Khamenia, Valery
See the 'Writing R Extensions' manual, specifically Creating R Packages - Writing package vignettes thank you, i saw this entry. However, this entry is rather about how to include documents (in particular Sweave-based) into a package. But I have meant smth else. Let me explain in example.

Re: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-09 Thread Deepayan Sarkar
On Monday 09 August 2004 10:23, Khamenia, Valery wrote: See the 'Writing R Extensions' manual, specifically Creating R Packages - Writing package vignettes thank you, i saw this entry. However, this entry is rather about how to include documents (in particular Sweave-based) into a package.

Re: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-09 Thread A.J. Rossini
If you name chunks that should be run together the same thing (i.e. similar to how Noweb suggests that you should create documents), then ess-eval-thread will evaluate all chunks in the thread (i.e. that noweb would have sent to the same file upon tangling). This is similar to the ess-eval-chunk

Re: AW: [R] built-in Sweave-like documentation in R-2.x

2004-08-09 Thread A.J. Rossini
Deepayan Sarkar [EMAIL PROTECTED] writes: Is selecting and 'C-c C-r'-ing the 3 chunks separately that bad? Yes. The UI should take care of it for him. Others may have better suggestions. A bit more work on the chunk evaluation approach within Emacs is one; it almost does what is needed,