From 0a7bf3557147a1c823b1335cab256a1b8b3d4e91 Mon Sep 17 00:00:00 2001 From: JustierNo1 Date: Wed, 7 Feb 2018 11:11:55 +0100 Subject: [PATCH] Added RNotebook --- PatrickGlettig.Rmd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 PatrickGlettig.Rmd diff --git a/PatrickGlettig.Rmd b/PatrickGlettig.Rmd new file mode 100644 index 0000000..0af6598 --- /dev/null +++ b/PatrickGlettig.Rmd @@ -0,0 +1,25 @@ +--- +title: "R Notebook" +output: html_notebook +--- + +This is an [R Markdown](http://rmarkdown.rstudio.com) Notebook. When you execute code within the notebook, the results appear beneath the code. + +Try executing this chunk by clicking the *Run* button within the chunk or by placing your cursor inside it and pressing *Ctrl+Shift+Enter*. + +```{r} +plot(cars) +``` + +Add a new chunk by clicking the *Insert Chunk* button on the toolbar or by pressing *Ctrl+Alt+I*. + +When you save the notebook, an HTML file containing the code and output will be saved alongside it (click the *Preview* button or press *Ctrl+Shift+K* to preview the HTML file). + +The preview shows you a rendered HTML copy of the contents of the editor. Consequently, unlike *Knit*, *Preview* does not run any R code chunks. Instead, the output of the chunk when it was last run in the editor is displayed. + +```{r} +1+1 +``` +##Hello World! + +6 minus 4 equals `r 6-4`. \ No newline at end of file