Chapter 2. Practical Machine Learning with R

In this chapter, we will cover the following topics:

  • Downloading and installing R
  • Downloading and installing RStudio
  • Installing and loading packages
  • Reading and writing data
  • Using R to manipulate data
  • Applying basic statistics
  • Visualizing data
  • Getting a dataset for machine learning


The aim of machine learning is to uncover hidden patterns, unknown correlations, and find useful information from data. In addition to this, through incorporation with data analysis, machine learning can be used to perform predictive analysis. With machine learning, the analysis of business operations and processes is not limited to human scale thinking; machine scale analysis enables businesses to capture hidden values ...

Get R: Recipes for Analysis, Visualization and Machine Learning now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.