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:
-
ch1()
- prints all code examples of ch1 -
ch2()
- prints all code examples of ch2 - …
-
ch20()
- prints all code examples of ch20
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")
See also
The book has a companion website at https://rfordummies.com