From 4098294fb5c7796fb15712072ade8fd87b9d717a Mon Sep 17 00:00:00 2001 From: Raniere Silva Date: Fri, 3 Mar 2017 20:52:49 +0000 Subject: [PATCH] Update RMarkdown file Include source: Rmd in the YAML header. --- _episodes/06-rmarkdown-example.md | 4 ++-- _episodes_rmd/06-rmarkdown-example.Rmd | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/_episodes/06-rmarkdown-example.md b/_episodes/06-rmarkdown-example.md index 04b121c..f532be6 100644 --- a/_episodes/06-rmarkdown-example.md +++ b/_episodes/06-rmarkdown-example.md @@ -1,4 +1,5 @@ --- +source: Rmd title: "Using RMarkdown" teaching: 10 exercises: 2 @@ -77,8 +78,7 @@ ggplot(diamonds, aes(x = carat, y = price, color = cut)) + ~~~ {: .r} -plot of chunk plot-example +plot of chunk plot-example 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 diff --git a/_episodes_rmd/06-rmarkdown-example.Rmd b/_episodes_rmd/06-rmarkdown-example.Rmd index b30d7bc..c43503a 100644 --- a/_episodes_rmd/06-rmarkdown-example.Rmd +++ b/_episodes_rmd/06-rmarkdown-example.Rmd @@ -1,4 +1,5 @@ --- +source: Rmd title: "Using RMarkdown" teaching: 10 exercises: 2 -- GitLab