rfordummies

Overview

rfordummies is an R package to accompany the book “R for Dummies”, by Andrie de Vries and Joris Meys. The package contains functions to print the table of contents as well as all the code samples for every chapter.

To print the table of contents, use:

toc()

To print the code of example for the chapters, use:

Since each of the functions ch1() to ch20() also contains the code examples as function examples, you can do the following to run all examples of a given chapter:

example("ch20", "rfordummies")

Installation

You can install rfordummies using:

# devtools::install_github("rfordummies/rfordummies")
install.packages("rfordummies", repos = c('https://rfordummies.r-universe.dev', 'https://cloud.r-project.org'))

See also

The book has a companion website at https://rfordummies.com