R is a powerful
open source (free) software for statistical computing and
graphics.
Why use R?
- Data
Analysts Captivated by R's Power
- R is used by majority of academic statisticians.
- R is platform independent meaning it is available on Windows,
Mac, and Linux.
- R has the best help resources both online (just google any
issue/question) and using help(...), e.g. help(lm).
- R has the best graphics.
- R is not a black box software, i.e., you can trace how a
function or package works by following the R script, e.g. lm()
- Companies
using R.
RStudio is an
integrated development environment (IDE) for R. It’s basically a
nice front-end for R, giving you a console, a scripting window, a
graphics window, and an R workspace, among other options.
Install R and
RStudio on Windows
- Download R from http://cran.us.r-project.org/ (click
on “Download R for Windows” > “base” > “Download R 3.x.x
for Windows”)
- Install R. Leave all default settings in the installation
options.
- Download RStudio from http://rstudio.org/download/desktop and
install it. Leave all default settings in the installation
options.
- Open RStudio.
Install R and
RStudio on Mac OS X
- Download R from http://cran.us.r-project.org/ (click
on “Download R for Mac OS X” > “R-3.x.x.pkg (latest
version)”)
- Install R.
- Download RStudio from http://rstudio.org/download/desktop.
- Install RStudio by dragging the application icon to your
Applications folder.
- Open RStudio.
Additional Resources
- Code School a web based and interactive introduction for R. R
installation is not required http://tryr.codeschool.com/
- Google developers created these short videos (< 5 mins long
per video) introducing R. http://goo.gl/EefNFc
- Introducing
R to a non-programmer in one hour.
- "Practical
Regression and Anova using R" by Julian Faraway