From 6b088118911efae0e9f7fde6534b780904fd6094 Mon Sep 17 00:00:00 2001 From: jennybc Date: Wed, 13 Jul 2016 10:39:31 +0200 Subject: [PATCH] I don't know why this is getting created --- .gitignore | 1 + render-r-script-demo.html | 46 --------------------------------------- 2 files changed, 1 insertion(+), 46 deletions(-) delete mode 100644 render-r-script-demo.html diff --git a/.gitignore b/.gitignore index f72b7733..b6b243ab 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ _main.rds README.html _book _bookdown_files +render-r-script-demo.html diff --git a/render-r-script-demo.html b/render-r-script-demo.html deleted file mode 100644 index 9ae2da5d..00000000 --- a/render-r-script-demo.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - -

R scripts can be rendered!

-

Jenny Bryan
-2016-07-13

-

Here's some prose in a very special comment. Let's summarize the built-in dataset VADeaths.

-
## here is a regular code comment, that will remain as such
-summary(VADeaths)
-
##    Rural Male     Rural Female     Urban Male     Urban Female  
-##  Min.   :11.70   Min.   : 8.70   Min.   :15.40   Min.   : 8.40  
-##  1st Qu.:18.10   1st Qu.:11.70   1st Qu.:24.30   1st Qu.:13.60  
-##  Median :26.90   Median :20.30   Median :37.00   Median :19.30  
-##  Mean   :32.74   Mean   :25.18   Mean   :40.48   Mean   :25.28  
-##  3rd Qu.:41.00   3rd Qu.:30.90   3rd Qu.:54.60   3rd Qu.:35.10  
-##  Max.   :66.00   Max.   :54.30   Max.   :71.10   Max.   :50.00
-

Here's some more prose. I can use usual markdown syntax to make things bold or italics. Let's use an example from the dotchart() help to make a Cleveland dot plot from the VADeaths data. I even bother to name this chunk, so the resulting PNG has a decent name.

-
dotchart(VADeaths, main = "Death Rates in Virginia - 1940")
-

- - -