2.2 Install required packages
Appendix A gives you an introduction to what a package is and how to install it.
Fo.low these instructions to install the packages used in this book:
Open “RStudio” just as you would any program, by clicking on its icon
Copy the following code and paste it into your console (on the bottom left, right of the symbol
>
):
install.packages("devtools", "tidyverse", "plotly", "lubridate", "r2d3")
install_github("hslu-ige-laes/redutils")
- Press
Enter
orReturn
The installation of the packages is now in progress and this may take a while, please be patient. In the meantime you can read in appendix A what packages are in general and how they can be installed and later loaded into scripts.