-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtidyverse_ws_setup.Rmd
30 lines (25 loc) · 1.23 KB
/
tidyverse_ws_setup.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: "Introduction to the R tidyverse"
subtitle: "Workshop setup instructions"
---
- Make sure that you have installed the [latest versions of R and RStudio](r_and_rstudio.html).
- In RStudio, install the [educer package](https://educe-ubc.github.io/educer.html). This will install all of the tidyverse packages and other resources.
- If you encountered any unexpected errors while installing the educer package, copy the following code into the Console, after the prompt `>`
```{r install-packages, eval = FALSE}
if (!require(tidyverse)) install.packages("tidyverse")
if (!require(cowplot)) install.packages("cowplot")
```
- Download the data file we will use during the workshop by clicking on the following button and save it in your Desktop or another convenient location.
```{r echo = FALSE}
data_file <- read.csv("https://raw.githubusercontent.com/EDUCE-UBC/educer/main/data-raw/data_tidyverse_ws.csv")
downloadthis::download_this(data_file,
output_name = "data",
output_extension = ".csv",
button_label = "Download data",
button_type = "default",
has_icon = TRUE,
icon = "fa fa-save",
class = "hvr-sweep-to-left",
csv2 = FALSE
)
```