Chapter 4 Quickstart guide to learning R coding
Here’s an outline of key steps to get started learning to run commands and write code using freely available, interactutorials.
- Check out the RStudio Cloud Primers
- The basics
- Working with data
- Install the
swirl
package
To install swirl, In the R
console run these commands:
install.packages("swirl")
library("swirl")
Then download these two tutorials
::install_course("R Programming")
swirl::install_course("The R Programming Environment") swirl
To get started with swirl
type:
swirl()
swirl
will guide you through the rest. Choose one of the R Programming tutorials. If you are asked for your Coursera information just skip this using the skip()
command.