From: "Charles C. Berry" <ccberry@ucsd.edu>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: capture htmlwidgets for export - a pattern in search of a new :results type???
Date: Tue, 28 Jul 2015 14:34:03 -0700 [thread overview]
Message-ID: <alpine.OSX.2.11.1507281417430.1057@charles-berrys-macbook.local> (raw)
In-Reply-To: <f1cc8e5bcf1c4f9f903894f5e83f92e5@exchsrv2.sgc.loc>
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
next prev parent reply other threads:[~2015-07-28 21:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-28 19:29 capture htmlwidgets for export - a pattern in search of a new :results type??? Cook, Malcolm
2015-07-28 21:34 ` Charles C. Berry [this message]
2015-07-29 0:08 ` Cook, Malcolm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.11.1507281417430.1057@charles-berrys-macbook.local \
--to=ccberry@ucsd.edu \
--cc=MEC@stowers.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).