- Introductions
- Class overview
- Getting R up and running
June 15, 2015
Investigator, Lieber Institute for Brain Development Assistant Professor, Department of Mental Health, JHSPH
PhD in Epidemiology, MHS in Bioinformatics
Email: ajaffe@jhu.edu
Leonardo Collado-Torres
5th year PhD student in Biostatistics
Email: lcollado@jhu.edu
Shaun Truelove
4th year PhD student in Epidemiology
Email: struelo1@jhu.edu
What do you hope to get out of the class?
Why R?
http://www.aejaffe.com/summerR_2015/
Materials will be uploaded the night before class
Homework 1: Due Tuesday 6/16 by 5pm
Homework 2: Due Wednesday 6/17 by class
Homework 3: Due Thursday 6/18 by class
Project: Due Friday 7/3 by 5pm
R is a language and environment for statistical computing and graphics
R is the open source implementation of the S language, which was developed by Bell laboratories
R is both open source and open development
(source: http://www.r-project.org/)
Powerful and flexible
Free (open source)
Extensive add-on software (packages)
Designed for statistical computing
High level language
Fairly steep learning curve
"Programming" oriented
Minimal interface
Little centralized support, relies on online community and package developers
Annoying to update
Slower, and more memory intensive, than the more traditional programming languages (C, Java, Perl, Python)
Install the latest version from: http://cran.r-project.org/
If you have an older version of R, you may not need to update. If you do want to update, re-install and run
update.packages(ask=FALSE)
(Makes R easier)
Ctrl + Enter
(Cmd + Enter
on OS X) in your script evaluates that line of code
Ctrl+1
takes you to the script pageCtrl+2
takes you to the console