Chapter 3

A first look to R The first R session Start the R system, the cursor is waiting for you to type in some R commands. For example, use R as a simple calculator: R 6 + 3 1 6 + 3 R ## [1] 9 1 ## [1] 9 R 5 - 9 1 5 - 9 R ## [1] -4 1 ## [1] -4 R 4 * 6 1 4 * 6 R ## [1] 24 1...

Chapter 2

R Setup Installing and updating R Design of the R system The R system is divided into two conceptual parts: The “base” R system that you download from CRAN. Everything else. R functionality is divided into a number of packages. The “base” R system contains, among...

Chapter 1

R and the R Project The R-Project: a bit of history R is a programming environment for data analysis, graphics and statistical computing. The R language is widely used among statisticians for developing statistical software and data analysis. R was initially developed...