Books‎ > ‎

R and Data Mining: Examples and Case Studies

Book title: R and Data Mining -- Examples and Case Studies
Author: Yanchang Zhao
Publisher: Academic Press, Elsevier
Publish date: December 2012
ISBN: 978-0-123-96963-7
Length: 256 pages

This book introduces into using R for data mining with examples and case studies.

Table of Contents and Abstracts    R Code and Data    FAQs

Sample pages on Google Books    Chinese Version

See the book on:
Google Books    Elsevier    ScienceDirect    Amazon

Book cover of R and Data Mining: Examples and Case Studies

QR code


  • There are errors when using tm v0.6 for text cleaning and/or stemming I have update slides for text mining with R for tm v0.6. Please see solutions at
    Posted May 23, 2015, 9:07 AM by Yanchang Zhao
  • Remove URLs from text Q: Function below does not remove URLs completely. removeURL <- function(x) gsub("http[[:alnum:]]*", "", x) A: Use code below, where ":alnum:" matches any alphanumeric characters, incl. letters and numbers, and ...
    Posted Jun 4, 2015, 4:08 AM by Yanchang Zhao
  • Where is to find the bodyfat dataset? The data is provided in package, but no longer in package mboost.To use the data, run code"bodyfat", package="")
    Posted Sep 12, 2014, 5:49 AM by Yanchang Zhao
  • Error in text mining: no applicable method for '***' applied to an object of class "character" Q: When trying the code in chapter text mining, some readers came across an error: no applicable method for '***' applied to an object of class "character".A: It is caused ...
    Posted May 23, 2015, 9:04 AM by Yanchang Zhao
  • Stem completion does not work in section 10.3 - stemming words Some readers had problem with the stemCompletion step in section 10.3 - stemming words. It is a bit tricky to set it up correctly. Please check if Java is installed ...
    Posted Aug 18, 2014, 9:32 AM by Yanchang Zhao
Showing posts 1 - 5 of 9. View more »

How to cite the book:
Yanchang Zhao. R and Data Mining: Examples and Case Studies. ISBN 978-0-12-396963-7, December 2012. Academic Press, Elsevier. 256 pages. URL:
  title = {R and Data Mining: Examples and Case Studies},
  publisher = {Academic Press, Elsevier},
  year = {2012},
  author = {Yanchang Zhao},
  pages = {256},
  month = {December},
  isbn = {978-0-123-96963-7},
  keywords = {R, data mining},
  url = {}