Stephen Turner
September 4, 2014
This is markdown text.
# This is R code that is echo'd and evaluated
p <- 5
p + 37
## [1] 42
More markdown
--- | |
title: "Untitled" | |
author: "Stephen Turner" | |
date: "September 4, 2014" | |
output: | |
html_document: | |
keep_md: true | |
--- | |
This is markdown text. | |
<!-- This is commented markdown text, which doesn't show up in output --> | |
```{r} | |
# This is R code that is echo'd and evaluated | |
p <- 5 | |
p + 37 | |
``` | |
More markdown | |
```{r, echo=FALSE, results='hide'} | |
# This is r code that's evaluated, but neither commands or results are shown | |
p + 42 - 5 | |
``` |