Skip to content

Instantly share code, notes, and snippets.

@joaovissoci
Forked from rpietro/knitr_chunk_template.rmd
Created December 12, 2013 02:37
Show Gist options
  • Save joaovissoci/7922396 to your computer and use it in GitHub Desktop.
Save joaovissoci/7922396 to your computer and use it in GitHub Desktop.
# 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