So far, you’ve been writing R code in R Markdown chunks and in the console. R scripts are another useful format for coding in R. In this reading, you’ll learn how and when to use scripts.