Week 1


Covered content

  • Go over PS1
  • Log-in to RStudio Server
    • Make sure to switch from R 3.1.0 to R 3.2.0 in the top right hand part of the screen
    • Install the needed packages
needed_pkgs <- c("nycflights13", "dplyr", "ggplot2", "knitr",
                 "ggplot2movies", "dygraphs", "rmarkdown", "mosaic", "tibble")

new.pkgs <- needed_pkgs[!(needed_pkgs %in% installed.packages())]

if(length(new.pkgs)) {
    install.packages(new.pkgs, repos = "http://cran.rstudio.com")
  • If everything installed correctly, you’ll see this when you run the code again. If you don’t get this, send me an email.

Install Went Well


Covered Content