From 21d034be5d500f3cb3c0ae4b0286a44e5a281c63 Mon Sep 17 00:00:00 2001 From: Simon <simon.bartke@uni-hamburg.de> Date: Tue, 5 Jul 2022 12:22:28 +0200 Subject: [PATCH] RProject init R Markdown with custom YAML created --- .gitignore | 4 ++++ demo_final.Rmd | 35 +++++++++++++++++++++++++++++++++++ demo_final.Rproj | 13 +++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 .gitignore create mode 100644 demo_final.Rmd create mode 100644 demo_final.Rproj diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5b6a065 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.Rproj.user +.Rhistory +.RData +.Ruserdata diff --git a/demo_final.Rmd b/demo_final.Rmd new file mode 100644 index 0000000..822ece4 --- /dev/null +++ b/demo_final.Rmd @@ -0,0 +1,35 @@ +--- +title: "Das ganze Spiel" +author: "Team Foo" +date: "5 7 2022" +output: + html_document: + keep_md: true + toc: true + toc_float: true + number_sections: true +--- + +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = TRUE) +``` + +## R Markdown + +This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>. + +When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this: + +```{r cars} +summary(cars) +``` + +## Including Plots + +You can also embed plots, for example: + +```{r pressure, echo=FALSE} +plot(pressure) +``` + +Note that the `echo = FALSE` parameter was added to the code chunk to prevent printing of the R code that generated the plot. diff --git a/demo_final.Rproj b/demo_final.Rproj new file mode 100644 index 0000000..8e3c2eb --- /dev/null +++ b/demo_final.Rproj @@ -0,0 +1,13 @@ +Version: 1.0 + +RestoreWorkspace: Default +SaveWorkspace: Default +AlwaysSaveHistory: Default + +EnableCodeIndexing: Yes +UseSpacesForTab: Yes +NumSpacesForTab: 2 +Encoding: UTF-8 + +RnwWeave: Sweave +LaTeX: pdfLaTeX -- GitLab