R codes for Book - Getting Started With RStudio