Created
July 26, 2013 19:20
-
-
Save rpietro/6091531 to your computer and use it in GitHub Desktop.
knitr template with commonly used options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# options http://goo.gl/2JGwlX | |
Models | |
```{r, eval:TRUE, cache=TRUE, results=asis, warning=FALSE, error=TRUE, message=FALSE, include=FALSE, tidy=TRUE} | |
summary(cars) | |
``` | |
Plots | |
```{r, fig.width=7, fig.height=6} | |
plot(cars) | |
``` | |
```{r child='first.Rmd'} | |
``` | |
```{r echo=FALSE, results='asis'}# knit the first three lines of first.Rmdcat(knit_child(text = readLines('first.Rmd')[1:3]), sep = '\n')``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment