forked from hadley/r4ds
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathintro.Rmd
23 lines (16 loc) · 894 Bytes
/
intro.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
layout: default
title: Welcome
output: bookdown::html_chapter
---
## Prerequsitives
You will need to have R installed on your computer to run the code in this chapter, as well as the RStudio IDE, a free program that makes it easier to use R. You can learn how to install both in *Appendix A: Getting Started*.
You will also need to install the `tidyr`, `dplyr`, `devtools`, and `DSR` packages. To install, `tidyr`, `dplyr`, and `devtools`, open RStudio and run the command
```{r eval = FALSE}
install.packages(c("tidyr", "dplyr", "devtools"))
```
`DSR` is a collection of data sets that I have assembled for this book and saved online as a github repository ([github.com/garrettgman/DSR](http://github.com/garrettgman/DSR)). To install `DSR`, run the command
```{r eval = FALSE}
devtools::install_github("garrettgman/DSR")
```
To use the packages, load them with `library()`, i.e.