Learn R Programming

AppliedPredictiveModeling (version 1.1-7)

getPackages: Install Packages for Each Chapter

Description

This function identifies the physical location on the user's computer where the chapter R scripts are located.

Usage

getPackages(chapter, ...)

Arguments

chapter

an integer vector (or character versions of the integer) for the chapter number. See Details below:

options to pass to install.packages

Details

Chapter names and packages. about dependencies.

Examples

Run this code
# NOT RUN {
getPackages(2)
getPackages(2:3)
getPackages("4")
# }

Run the code above in your browser using DataLab