The R examples for CS 7331 are now compiled into an online book with the title An R Companion for Introduction to Data Mining. This book contains documented R examples to accompany several chapters of the popular data mining textbook Introduction to Data Mining by Pang-Ning Tan, Michael Steinbach, Anuj Karpatne and Vipin Kumar. The companion book can be used with either edition.