On Sat, Jun 2, 2012 at 12:20 PM, Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>wrote:

> hi MIchael,
>
> > Interesting to hear the chatter about knitr today. Related to this is the
> > desire to evaluate Sweave, knitr, etc reports incrementally and
> > interactively. It is of course currently possible to evaluate the *body*
> of
> > a block, but what about the other parameters of the block with side
> > effects? This is essentially a generalization of the report generator to
> > the notion of "annotated code blocks".
> Have you tried using org mode, and org-babel?  You can either process
> the whole buffer, or interactively run chunks and send them e.g. to an
> *ESS* session that you can then interact with.
>
>
Ah, thanks, I had forgotten this feature. I had looked at org-babel back
when it emerged, but never made the jump from the more mainstream
Sweave/LaTeX. For interactive work, it's neat to have the results embedded
in the current buffer. Presumably, this is something that ESS could tackle
if packages like knitr supported it (maybe they already do or could be
easily extended to do so).


> (What I don't like about org-babel is that it seems overly complicated,
> compared to the straightforward markup of Sweave.)
>
>
Right, the syntax is a bit verbose and counter-intuitive. It would make
collaboration difficult.


> Stephen
>

	[[alternative HTML version deleted]]

