Chapter 1 Introduction to R

The main point of this chapter is for readers who have no experience in R. If you have R and Rstudio in your computer and are already at ease with their basic operation, you should start immediatly with Chapter 2.

Learning Objectives:

  • What is R? What is RStudio?

  • Install R an RStudio

  • Familiarize with RStudio interface

  • Use interactive console and code editor

  • Assignment statement

  • Hello world

  • Save R program and R data files

  • Add comment to your code