On Tue, 28 Jul 2015, Cook, Malcolm wrote:

I have been playing with exporting htmlwidgets [1] generated in R code-blocks.


[snip: proposal for new :results format to accomodate repetitive codes]



Perhaps there is  a better or more useful abstraction.

Or a better workaround than simply following the pattern when needed (which is 
not too hard anyway).

Any ideas along these lines?

See

        (info "(org) Noweb reference syntax")

for one way to handle repetitive codes.

Alternately, header args :var, :post, :prologue and/or :epilogue could be used to crystallize your code.

One other alternative is to write an R function that creates the extra markup.

HTH,

Chuck

Reply via email to