% Writing beautiful and reproducible slides quickly % Yihui Xie % 2012/04/30

# set global chunk options
library(knitr)
opts_chunk$set(cache=TRUE)

Why

A bit R code

head(cars)
cor(cars)

Graphics too

library(ggplot2)
qplot(speed, dist, data = cars) + geom_smooth()

How

For ninjas

For beamer lovers

For Powerpoint lovers

Reproducible research

It is good to include the session info, e.g. this document is produced with knitr. Here is my session info:

print(sessionInfo(), locale=FALSE)

Misc issues

Life is short



Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on May 20, 2021, 5:08 p.m.