Week 2: Introduction to R Programming

This week we will be going through some of the basic mechanics of analyzing your data in R. We'll cover the basics of the language, inputting/outputting data, subsetting data, and how to get help in R. We'll also offer a demonstration of some of the data manipulation tricks that we have found useful.


Background Materials:

How to Install R

Installation and Basics (R code)

 

Course Materials: 

Introduction to R Programming (Lecture)

collections.csv (Data File for Demo)

fish.csv (Data File for Demo)

data_manip.R (R code for Demo)

 

Resources:

John Chambers Recounts the History of S and R (Video)

Practical Data Management for Bug Counters (great blog on data carpentry)

Line Endings

Data Import/Export in R

Eric Raymond's "How to Ask Smart Questions"

Nine Simple Ways to Make It Easier to Re(use) Your Datai