CHAPTER 19

image

Making an R Package

One of the strengths of R is the ability to share software as packages. Packages give users a reliable, convenient, and standardized way to access R functions, data, and documentation. Package authors have a means of communicating with users and a way to organize software for the purpose of sharing it with others and reusing it themselves.

In this chapter, you learn the mechanics of making an R package. Although you may not create your own package, you still need to understand how packages work if you need to modify an existing one or if you have problems installing one. There are four good reasons to take the time ...

Get Beginning R: An Introduction to Statistical Programming now with O’Reilly online learning.

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