Versions Compared

Key

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

Install R

Install ez package (change permissions on Program Files folder)

Download and install Rstudio

...

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

Image Added
  • Finish installation, selecting Add Desktop shortcuts.

You will occasionally need to open R to add packages.

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: 

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.

Adding and Updating Packages

Standard packages are installed through R.

Image Added

Other extensions (RStudio) are installed with Windows installations (running an exe file).

About R

Google R style guide

Recommended Packages

Required?

Package/Add-on

Purpose

Notes

No

Rtools - exe( link); see additional instructions

build packages from code (needed for some packages)

Install before any other packages that need compiling (there will be a warning)