Chapter 1: Installing and Configuring R and its Libraries
Installing and configuring base R in Windows
Installing and configuring base R in Linux
Installing and configuring RStudio IDE in Windows
Installing and configuring RStudio IDE in Linux
Installing and configuring R tools for Visual Studio in Windows
Installing R libraries from various sources
Installing a specific version of R library
Chapter 2: Data Structures in R
Creating a vector and accessing its properties
Creating a matrix and accessing its properties
Creating a data frame and accessing its properties
Creating an array and accessing its properties
Creating a list from a combination of vector, matrix, and data frame
Converting a matrix to a data frame and a data frame to a matrix
Chapter 3: Writing Customized Functions
Writing your first function in R
Writing functions with multiple arguments and use of default values
Handling data types in input arguments
Producing different output types and return values
Making a recursive call to a function
Handling exceptions and error messages
Chapter 4: Conditional and Iterative Operations
The use of the if conditional statement
The use of the if…else conditional operator
The use of the ifelse vectorised conditional operator
Writing a function using the switch operator
Comparing the performance of switch and series of the if…else statements
Using for loop for iterations
Vectorised operation versus for loop
Chapter 5: R Objects and Classes
Defining methods for the S3 class
Creating a generic function and defining a method for the S3 class
Defining methods for an S4 class
Creating a function to return an object of the S4 class
Chapter 6: Querying, Filtering, and Summarizing
Using the pipe operator for data processing
Efficient and fast summarization using the dplyr verbs
Using the customized function within the dplyr verbs
Using the select verb for data processing
Using the filter verb for data processing
Using the arrange verb for data processing
Using mutate for data processing
Using summarise to summarize dataset
Chapter 7: R for Text Processing
Extracting unstructured text data from a plain web page
Extracting text data from an HTML page
Extracting text data from an HTML page using the XML library
Extracting text data from PubMed
Importing unstructured text data from a plain text file
Importing plain text data from a PDF file
Pre-processing text data for topic modeling and sentiment analysis
Creating a word cloud to explore unstructured text data
Using regular expression in text processing
Chapter 8: R and Databases
Installing the PostgreSQL database server
Creating a new user in the PostgreSQL database server
Creating a table in a database in PostgreSQL
Creating a dataset in PostgreSQL from R
Interacting with the PostgreSQL database from R
Creating and interacting with the SQLite database from R
Chapter 9: Parallel Processing in R
Creating an XDF file from CSV input
Processing data as a chunk
Comparing computation time with data frame and XDF
Linear regression with larger data (rxFastLiner)