Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Setup and Updating

Install R (https://www.r-project.org/)

  • Top-left, click “CRAN” under Download”, select a local mirror

  • Click “Download R for Windows”, choose “base”

  • Click the download and run the installer

Note: if you want to view “Installation and other instructions”, open in Notepad.

  • May as well exclude the 32-bit files

  • Finish installation, selecting Add Desktop shortcuts.

You will occasionally need to open R to add packages.

Install ez package (change permissions on Program Files folder)

Download and install Rstudio

Gogole R style guide

Download and install Rstudio (https://rstudio.com/)

  • Download RStudio Desktop for Windows

You will most often run RStudio to use R, so best to put a shortcut on the Taskbar.

Java?

Install java 64-bit from here; https://www.java.com/en/download/manual.jsp

Deducer is GUI: 

Code Block
install.packages(c("JGR","Deducer","DeducerExtras"))

xlsx, GGally (scatter plots), vcd (categorical data), reshape2,dplyr

Updating R

Easiest is to use the "installr" package, as explained here.

About R

Google R style guide

Recommended Packages

Package

Purpose

Notes