Tips and Tricks for publishing in markdown.

Caching

Only rerun code sections if their content changes (source).

{r, cache=TRUE}

# Make R loop a bunch.
# This will run slowly the first time
# and quickly every other time.
system.time(for(i in 1:100000001){})
##    user  system elapsed 
##    7.89    0.11    8.00

To look at

Some things that seemed promising

google’s dynamic tables and maps
badass nba markdown
cool use of mapping
cool heat maps