-
Notifications
You must be signed in to change notification settings - Fork 0
/
intro.qmd
50 lines (34 loc) · 1.47 KB
/
intro.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
40
41
42
43
44
45
46
47
48
49
50
# Introduction {#sec-intro}
```{r}
#| results: "asis"
#| echo: false
source("_common.R")
```
## Prerequisites
Following software need to be installed on your computer to work with the examples shown in this online book:
- `R` Version 4.1 (or higher) <https://cloud.r-project.org/>. Check your R version by running following command in your console:
```{r r-version}
R.Version()$version.string
```
- `RStudio` Version 2022.02 or higher <https://www.rstudio.com/products/rstudio/download/#download>. Check your `RStudio` version by either looking clicking *About RStudio* under the menu *Help*, or by running following command in your console
```{r rstudio-version}
#| eval: false
rstudioapi::versionInfo()$version
```
Following software are only needed for specific chapters/examples:
- `Git` <https://git-scm.com/downloads>
- For Windows: `Rtools` \<https://cran.r-project.org/bin/windows/Rtools/
## Frequently used R packages
See also \@ref(Installing R packages)
Following R packages will be often used in the given examples and it is thus recommended
to install them before starting with this book
- `here`
- `tidyverse`(installs `ggplot2, dplyr, tidyr, tibble, readr, forcats, stringr, purrr`)
- `readxl`
- `remotes`
Run this in your R command line to install these packages:
```{r}
#| eval: false
pkg_list <- c("here", "tidyverse", "readxl", "remotes")
install.packages(pkg_list)
```