diff --git a/05-data-structures-part2.md b/05-data-structures-part2.md index 142746d5e..04d1fc1b9 100644 --- a/05-data-structures-part2.md +++ b/05-data-structures-part2.md @@ -539,7 +539,7 @@ Check out `?source` to find out more. ```r -download.file("https://raw.githubusercontent.com/swcarpentry/r-novice-gapminder/gh-pages/_episodes_rmd/data/gapminder_data.csv", destfile = "data/gapminder_data.csv") +download.file("https://raw.githubusercontent.com/swcarpentry/r-novice-gapminder/main/episodes/data/gapminder_data.csv", destfile = "data/gapminder_data.csv") gapminder <- read.csv(file = "data/gapminder_data.csv") ``` diff --git a/13-dplyr.md b/13-dplyr.md index c45f53c2a..6bc6550d7 100644 --- a/13-dplyr.md +++ b/13-dplyr.md @@ -653,10 +653,10 @@ lifeExp_2countries_bycontinents <- gapminder %>% ## Other great resources -- [R for Data Science](https://r4ds.had.co.nz/) -- [Data Wrangling Cheat sheet](https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf) -- [Introduction to dplyr](https://dplyr.tidyverse.org/) -- [Data wrangling with R and RStudio](https://www.rstudio.com/resources/webinars/data-wrangling-with-r-and-rstudio/) +- [R for Data Science](https://r4ds.hadley.nz/) (online book) +- [Data Wrangling Cheat sheet](https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf) (pdf file) +- [Introduction to dplyr](https://dplyr.tidyverse.org/) (online documentation) +- [Data wrangling with R and RStudio](https://www.rstudio.com/resources/webinars/data-wrangling-with-r-and-rstudio/) (online video) :::::::::::::::::::::::::::::::::::::::: keypoints diff --git a/14-tidyr.md b/14-tidyr.md index fc29f3770..840c1a31b 100644 --- a/14-tidyr.md +++ b/14-tidyr.md @@ -589,10 +589,10 @@ There and back again! ## Other great resources -- [R for Data Science](https://r4ds.had.co.nz/index.html) -- [Data Wrangling Cheat sheet](https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf) -- [Introduction to tidyr](https://cran.r-project.org/web/packages/tidyr/vignettes/tidy-data.html) -- [Data wrangling with R and RStudio](https://www.rstudio.com/resources/webinars/data-wrangling-with-r-and-rstudio/) +- [R for Data Science](https://r4ds.hadley.nz/) (online book) +- [Data Wrangling Cheat sheet](https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf) (pdf file) +- [Introduction to tidyr](https://cran.r-project.org/web/packages/tidyr/vignettes/tidy-data.html) (online documentation) +- [Data wrangling with R and RStudio](https://www.rstudio.com/resources/webinars/data-wrangling-with-r-and-rstudio/) (online video) :::::::::::::::::::::::::::::::::::::::: keypoints diff --git a/instructor-notes.md b/instructor-notes.md index de71e0484..83d1925ef 100644 --- a/instructor-notes.md +++ b/instructor-notes.md @@ -69,6 +69,21 @@ To prevent the learners from having to re-enter their password each time they pu $ git config --global credential.helper 'cache --timeout=10000000' ``` +## RStudio Color Preview + +RStudio has a feature to preview the color for certain named colors and hexadecimal colors. This may confuse or distract learners (and instructors) who are not expecting it. + +Mainly, this is likely to come up during the episode on "Data Structures" with the following code block: + +```r +cats <- data.frame(coat = c("calico", "black", "tabby"), + weight = c(2.1, 5.0, 3.2), + likes_string = c(1, 0, 1)) +``` + +This option can be turned off and on in the following menu setting: +Tools -> Global Options -> Code -> Display -> Enable preview of named and hexadecimal colors (under "Syntax") + ## Pulling in Data The easiest way to get the data used in this lesson during a workshop is to have diff --git a/md5sum.txt b/md5sum.txt index 815c5b883..3496b1ea7 100644 --- a/md5sum.txt +++ b/md5sum.txt @@ -7,7 +7,7 @@ "episodes/02-project-intro.Rmd" "cd60cc3116d4f6be92f03f5cc51bcc3b" "site/built/02-project-intro.md" "2024-01-04" "episodes/03-seeking-help.Rmd" "d24c310b8f36930e70379458f3c93461" "site/built/03-seeking-help.md" "2024-01-04" "episodes/04-data-structures-part1.Rmd" "5ec938f71a9cec633cef9329d214c3a0" "site/built/04-data-structures-part1.md" "2024-01-04" -"episodes/05-data-structures-part2.Rmd" "c2def187e8cb1c53fd2ca2dc6f7b5d43" "site/built/05-data-structures-part2.md" "2024-01-04" +"episodes/05-data-structures-part2.Rmd" "95c5dd30b8288090ce89ecbf2d3072bd" "site/built/05-data-structures-part2.md" "2024-01-22" "episodes/06-data-subsetting.Rmd" "5d4ce8731ab37ddea81874d63ae1ce86" "site/built/06-data-subsetting.md" "2024-01-04" "episodes/07-control-flow.Rmd" "6a8691c8668737e4202f49b52aeb8ac6" "site/built/07-control-flow.md" "2024-01-04" "episodes/08-plot-ggplot2.Rmd" "a9a97a1eee46dc82b83c6c740a4412cf" "site/built/08-plot-ggplot2.md" "2024-01-04" @@ -15,11 +15,11 @@ "episodes/10-functions.Rmd" "14edd4cf50edb8fefeb987a17d740e1a" "site/built/10-functions.md" "2024-01-04" "episodes/11-writing-data.Rmd" "8b26e062dddd2394d00c6847ff0b7505" "site/built/11-writing-data.md" "2024-01-04" "episodes/12-plyr.Rmd" "909597e71c188c682b5039036b4e95cf" "site/built/12-plyr.md" "2024-01-04" -"episodes/13-dplyr.Rmd" "182c5377ad81f0b25a19cd7a000e539e" "site/built/13-dplyr.md" "2024-01-04" -"episodes/14-tidyr.Rmd" "55773b26adb43d968e6e6d2b61627585" "site/built/14-tidyr.md" "2024-01-04" +"episodes/13-dplyr.Rmd" "fc20e35f891f0bb624647d69816c3220" "site/built/13-dplyr.md" "2024-01-22" +"episodes/14-tidyr.Rmd" "1c59c3bea4cec5e0c47654a546294f07" "site/built/14-tidyr.md" "2024-01-22" "episodes/15-knitr-markdown.Rmd" "0c63ce92263a32f19fbec9f7b619b682" "site/built/15-knitr-markdown.md" "2024-01-04" "episodes/16-wrap-up.Rmd" "c5ce0d34a37b7a99624ad1d6ac482256" "site/built/16-wrap-up.md" "2024-01-04" -"instructors/instructor-notes.md" "5ce85301c3e8d78b4b8682ae8e6bb7ff" "site/built/instructor-notes.md" "2024-01-04" +"instructors/instructor-notes.md" "e61e7587564a6c4c11dbb6beea127764" "site/built/instructor-notes.md" "2024-01-22" "learners/discuss.md" "42ad66ab1907e030914dbb2a94376a47" "site/built/discuss.md" "2024-01-04" "learners/reference.md" "9496509797663e42d7dc4050d45628bd" "site/built/reference.md" "2024-01-04" "learners/setup.md" "f888f8a54b071715c0cf56896e650c00" "site/built/setup.md" "2024-01-04"