Add Rstudio project
Ensure all files can be clearly sourced
Put R files in R/ and store figures in root.
Merge pull request #1 from hadley/master

Basic cleanup