[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] capture htmlwidgets for export - a pattern in search of a new :r
From: |
Charles C. Berry |
Subject: |
Re: [O] capture htmlwidgets for export - a pattern in search of a new :results type??? |
Date: |
Tue, 28 Jul 2015 14:34:03 -0700 |
User-agent: |
Alpine 2.11 (OSX 23 2013-08-11) |
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