Beta version

Version prepared for the SSDS Intro to R workshop. Stanford University

Instructor: Edgar Franco

What is R?

R is a free software environment for statistical computing and graphics.R is also a programing language. The advantage of R is that it has lots of packages for which allow specialized statistical techniques, graphical devices (ggplot2), import/export capabilities, reporting tools (knitr, Sweave), etc.

Some programs are better for specific purposes but R is intended to do all. Like a Swiss Army Knife.

What is R studio?

R Studio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, debugging and workspace management.

Coding style

Coding Style Tutorial

R tutorials

Tutorials on specific packages

The dplyr package is designed to simplify the manipulation of datasets:

dplyr tutorial

With the ggplot package you can create beautiful graphs:

ggplot tutorial