Summary Acknowledgment Quick start What is R Why R Install R RStudio First model Basic objects Vector Matrix Array List Data frame Function Formula Basic expressions Assignment Condition Loop Basic functions Environment Package Object Logical Character Math Statistics Data Graphics Apply-family Basic statistics Preparing data Descriptive statistics Linear regression Hypothesis testing Model analysis Time series modeling Basic data mining Using models Cross validation Basic grahpics Basic plots Composing plots Partitioning plots Graphics devices Inside R Lazy evaluation dot-dot-dot Environment Scoping Functions Expression Memory management Functional programming Anonymous functions Closures Higher-order functions Data structures S3 object S4 object Database SQL Excel workbook SQLite SQL on data frame Parallel computing parallel package foreach package Profiling Computing time Memory usage Advanced graphics Interative graphics ggplot2 ggvis Packages Text processing Data table Data transformation Web scraping Root solving Optimization Rcpp