2016-06-21
a language and environment for statistical computing and graphics
We will touch on all of these aspects. Slides and material are available at http://heike.github.io/rwrks/summerschool.
If R were an airplane, RStudio would be the airport, providing many, many supporting services that make it easier for you, the pilot, to take off and go to awesome places. Sure, you can fly an airplane without an airport, but having those runways and supporting infrastructure is a game-changer.
Create a project to contain all of the material covered in this set of tutorials:
R Markdown is an authoring format that enables easy creation of dynamic documents, presentations, and reports from R. It combines the core syntax of markdown (an easy-to-write plain text format) with embedded R code chunks that are run so their output can be included in the final document. R Markdown documents are fully reproducible (they can be automatically regenerated whenever underlying R code or data changes).
RStudio's cheatsheet gives a nice, concise overview of its capabilities.
RStudio's reference guide lists its options.
curl::curl_download( "https://raw.githubusercontent.com/heike/rwrks/gh-pages/summerschool/01-Introduction-to-R/knitr/0-getting-started.Rmd", "0-getting-started.Rmd" ) file.edit("0-getting-started.Rmd")
curl::curl_download( "https://raw.githubusercontent.com/heike/rwrks/gh-pages/summerschool/01-Introduction-to-R/code/0-getting-started.R", "0-getting-started.R" ) file.edit("0-getting-started.R")
If R is complaining about not having the package curl
, run
install.packages("curl")
and try again