cm002 2016-09-08 Thursday overview
- Introduction to R and RStudio. Indicative of our live coding together:
- What to do before next class on Tuesday Sept 13
- R/RStudio novices: finish the activity (linked below)
- experienced useRs: maybe check out swirl (more below)
- any other R learning exercises you wish …
- everyone: try to get your Git and GitHub setup done: Follow the “Installation” section of Happy Git book http://happygitwithr.com/installation-pain.html.
- What’s next?
- We elicit your name, GitHub username, Twitter handle (if you have) … will email you link to a web form (done w/ Shiny and R, naturally!)
- Tuesday: more R, test drive Git(Hub), compiling an R script or R markdown document to HTML
- First homework will be due … probably before class Tuesday September 20. See the 2015 version here (some changes still coming).
Slides and links
Slides available on slideshare
2014 version of slides but not much has changed
Notes and and some links from the slides
- Jack Handey’s Deep Thoughts were a Saturday Night Live thing, many moons ago
- Emacs Speaks Statistics (ESS) manual. ESS + Emacs is still a great way to work with R, especially if you want one editor/IDE to cover other (non-R) languages. I used ESS before eventually switching to RStudio. Still waiting for the Emacs key-bindings :(
- Vince Buffalo tweet re: “write code for humans, write data for computers”. Apparently he also uses the phrase in his new book Bioinformatics Data Skills.
- Tweet by
@jiffyclub illustrating agony of working with data formatted for human eyeballs
- his iPython notebook
- data he was working with from California’s Department of Water Resources Data Exchange Center
- The International Obfuscated C Code Contest
- swirl: “a software package for the R programming language that turns the R console into an interactive learning environment”
For those familiar with R
Check out swirl. Work through one or more interactive courses with the goal of writing a short review (include in homework?). Feeling more ambitious? Check out
swirlify and create a new lesson. I’d be happy to help think up topics.