ABSTRACT

R code has the potential to help students learn mathematics due to the need for precision, understanding of symbols and functions, and the logical nature of code. This chapter describes how to download R on a desktop and how to work in the R editor. It discusses the functions of R code by using examples. One of the strengths of R is statistical computing, but entering large data sets directly into R is not a common practice. The chapter illustrates how to import a.csv file into R by using the Arctic Ice data as an example. Two common errors in importing files are leaving out the.csv in the title and not changing the directory.