Statistics and data mining with R