Setup for Data Analytics with R Training
Required Software
Students should have a recent versions of the software below installed for the course:
- R (https://cran.r-project.org/
bin/windows/base/) - RStudio Desktop Open Source Edition (https://posit.co/download/rstudio-desktop/)
- R packages as described below.
Instructions
Install R, RStudio, and Packages
- Install R (does not require IT help): https://cran.r-project.org/bin/windows/base/
- Install RStudio (requires IT admin privileges, call the helpline at 1-800-877-7435): https://posit.co/download/rstudio-desktop/
- To install R packages, open RStudio and run the following code in the RStudio console:
options(download.file.method = 'wininet') package_list <- c('rmarkdown','tidyverse','Hmisc','ggthemes','ggridges','hrbrthemes','quarto') install.packages(package_list)
- Finally, to test if your installation is working, run the following in RStudio:
## testing if R packages were successfully installed installed <- lapply(package_list, require, character.only = TRUE) if (all(unlist(installed))) { message("Success, all packages installed!") } else { message("At least one package was not installed correctly :(") for (i in 1:length(package_list)) { if (!installed[[i]]) { message(paste0("--- '", package_list[i], "' was not installed correctly.")) } } }
Courses and Class Files
This setup page is used for the following course: