From 9de26cc0e6764795a15e3a3eda9577683fe4366a Mon Sep 17 00:00:00 2001 From: Timothy Middelkoop Date: Wed, 22 May 2024 19:29:36 +0000 Subject: [PATCH] More renaming --- prep/{Instructor_Notes.Rmd => Instructor.Rmd} | 0 ...ebook.ipynb => Preparation-Notebook.ipynb} | 0 prep/{RStudio.Rmd => Preparation-RStudio.Rmd} | 8 +------ prep/Setup.Rmd | 23 +++++++++++++++++++ 4 files changed, 24 insertions(+), 7 deletions(-) rename prep/{Instructor_Notes.Rmd => Instructor.Rmd} (100%) rename prep/{Notebook.ipynb => Preparation-Notebook.ipynb} (100%) rename prep/{RStudio.Rmd => Preparation-RStudio.Rmd} (71%) create mode 100644 prep/Setup.Rmd diff --git a/prep/Instructor_Notes.Rmd b/prep/Instructor.Rmd similarity index 100% rename from prep/Instructor_Notes.Rmd rename to prep/Instructor.Rmd diff --git a/prep/Notebook.ipynb b/prep/Preparation-Notebook.ipynb similarity index 100% rename from prep/Notebook.ipynb rename to prep/Preparation-Notebook.ipynb diff --git a/prep/RStudio.Rmd b/prep/Preparation-RStudio.Rmd similarity index 71% rename from prep/RStudio.Rmd rename to prep/Preparation-RStudio.Rmd index 8581894..b739610 100644 --- a/prep/RStudio.Rmd +++ b/prep/Preparation-RStudio.Rmd @@ -1,19 +1,13 @@ --- -title: "Lesson Preparation" output: html_document editor_options: chunk_output_type: console --- -See [Setup.Rmd](Setup.Rmd) for setting up RStudio environment.. - # R Ecology ## Install Packages -```{r message=FALSE, warning=FALSE} -options(repos = list(CRAN="http://cran.rstudio.com/")) -install.packages(c("tidyverse", "lubridate", "ratdat")) -``` +Run the (Setup.Rmd)[Setup.Rmd] RStudio notebook once. ## Load diff --git a/prep/Setup.Rmd b/prep/Setup.Rmd new file mode 100644 index 0000000..5dc484c --- /dev/null +++ b/prep/Setup.Rmd @@ -0,0 +1,23 @@ +--- +output: html_document +editor_options: + chunk_output_type: console +--- +# Setup RStudio + +Run this Notebook once in an environment to install packages. + +Configure mirror +```{r message=FALSE, warning=FALSE} +options(repos = list(CRAN="http://cran.rstudio.com/")) +``` + +Setup basic packages +```{r message=FALSE, warning=FALSE} +install.packages(c("tidyverse", "lubridate", "ratdat")) +``` + +Packages from Lesson 1 +```{r message=FALSE, warning=FALSE} +install.packages("ggplot2") +```