-
Notifications
You must be signed in to change notification settings - Fork 0
/
course_preparations.qmd
39 lines (25 loc) · 1.46 KB
/
course_preparations.qmd
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
31
32
33
34
35
36
37
38
39
---
title: "Course preparations"
---
## R and Rstudio
Follow the instructions [here](https://posit.co/download/rstudio-desktop/) to download and install R and RStudio. We're going to need R version \> 4.1.2 and the latest version of RStudio, so if you were planning to update, now is a good time to do so!
### Quarto
Follow instructions to install quarto [here](https://quarto.org/docs/get-started/).
### R packages
Install and/or update the following packages from CRAN:
```{r}
#| eval: false
install.packages(c("babynames",
"knitr",
"dplyr",
"ggplot2",
"tidyr",
"pheatmap"))
```
## Git and GitHub
To install and/or update git, follow the instructions of Jennifer Bryan's [happy git with R](https://happygitwithr.com/install-git.html).
If you haven't already got one, make an account on [GitHub](https://github.com/join), and make sure you can push and pull to GitHub either through https or with an ssh key. If you haven't set that up yet, set up a [Personal Access Token](https://happygitwithr.com/https-pat.html) to enable a connection through https. In short, this means that you have to:
- Go to <https://github.com/settings/tokens> and click *Generate new token* \> *New personal access token (classic)*
- Write a note, give it an expiration date and select the full **repo** scope
- Click **Generate token**
- If git asks for a password, use the PAT as your password