Skip to content

Commit

Permalink
Update RMarkdown file
Browse files Browse the repository at this point in the history
Include

    source: Rmd

in the YAML header.
  • Loading branch information
rgaiacs committed Mar 3, 2017
1 parent 0a321c7 commit 4098294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _episodes/06-rmarkdown-example.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
source: Rmd
title: "Using RMarkdown"
teaching: 10
exercises: 2
Expand Down Expand Up @@ -77,8 +78,7 @@ ggplot(diamonds, aes(x = carat, y = price, color = cut)) +
~~~
{: .r}

<img src="../fig/rmd-plot-example-1.png" title="plot of chunk plot-example"
alt="plot of chunk plot-example" style="display: block; margin: auto;" />
<img src="../fig/rmd-plot-example-1.png" title="plot of chunk plot-example" alt="plot of chunk plot-example" style="display: block; margin: auto;" />

For the challenges and their solutions, you need to pay attention to where the
`>` go and where to leave blank lines. You can include code chunks in both the
Expand Down
1 change: 1 addition & 0 deletions _episodes_rmd/06-rmarkdown-example.Rmd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
source: Rmd
title: "Using RMarkdown"
teaching: 10
exercises: 2
Expand Down

0 comments on commit 4098294

Please sign in to comment.