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") +```