rstudio/rmarkdown — pull request #106 by jmcphers (2014-05-20 22:58:30+00:00)
Title: Delayed rendering for Shiny documents

This change adds a new method called `render_delayed` that can delay the evaluation of an expression in a Shiny document, with the goal of improving the document render speed by deferring the execution of longer-running computations until after the document is visible.

`something_expensive()` => `render_delayed(something_expensive())`

There's no performance improvement here in real terms, just a lever for improving the perceived performance.

Note that this implementation loses dependency information, and should be reconciled with `htmltools-refactor` when that branch is merged.