Lab 0: Hello World

Install R

  1. Navigate to the R website and download the latest version of R for your specific operating system.

  2. Run the installer with the default settings to install R on your machine.

Install RStudio

  1. Navigate to the RStudio website and download the latest version of RStudio for your specific operating system.

  2. Run the installer with the default settings to install R studio on your machine.

Hello World

  1. Open RStudio

  2. Assign a character string to a variable

x <- "Hello World!"
  1. Print the variable
print(x)
## [1] "Hello World!"
  1. Verify you see the result (above) displayed in your interactive console.

Install additional packages

  1. Download and install the following packages using the following commands.
install.packages("dplyr")

install.packages("moments")

install.packages("corrgram")

install.packages("lattice")

install.packages("ggplot2")

install.packages("ff")

install.packages("biglm")

install.packages("tree")

install.packages("caret")

install.packages("e1071")

install.packages("nnet")

install.packages("NeuralNetTools")

install.packages("shiny")

Set Up the Workshop Folder

  1. Create a directory called “Workshop” on your C: drive.

  2. Download the data files

  3. Extract the data files to the C:/Workshop/Data directory.

  4. Open the data file Movies.csv and inspect the contents of the file.

If you’ve been able to complete all of the previous steps, your computer should have everything it needs to complete all of the labs for this workshop.