What this book covers
Chapter 1, Quick Start, discusses a few basic facts about R, how to deploy an R environment, and how to code in RStudio.
Chapter 2, Basic Objects, introduces basic R objects and their behaviors.
Chapter 3, Managing Your Workspace, introduces the methods of managing the working directory, R environment, and the library of extension packages.
Chapter 4, Basic Expressions, covers the basic expressions of the R language: assignment, condition, and loop.
Chapter 5, Working with Basic Objects, discusses the basic functions each analyst should know in order to work with basic objects in R.
Chapter 6, Working with Strings, talks about R objects related with strings, and a number of string manipulation techniques.
Chapter 7, Working with Data, explains simple read/write data functions with some practical examples on various topics using basic objects and functions.
Chapter 8, Inside R, discusses R’s evaluation model by introducing what lazy evaluation, environment, function, and lexical scoping work is.
Chapter 9, Metaprogramming, introduces the metaprogramming techniques to help understand language objects and nonstandard evaluation.
Chapter 10, Object-Oriented Programming, describes the numerous object-oriented programming systems in R: S3, S4, RefClass, and community-provided R6.
Chapter 11, Working with Databases, shows how R works with popular relational databases such as SQLite and MySQL, and non-relational databases such as MongoDB and Redis.
Chapter 12, Data Manipulation, introduces techniques of manipulating relational data using data.table and dplyr, and non-relational data using rlist.
Chapter 13, High Performance Computing, discusses performance issues in R and several methods to boost computing performance.
Chapter 14, Web Scraping, talks about the basic structure of web pages, CSS, and XPath selectors and how to use the rvest package to scrape data from simple web pages.
Chapter 15, Boosting Productivity, demonstrates how R Markdown and shiny app, combined with interactive graphics, can boost productivity in the reporting and presentation of data analysis.