While we concentrate on data mining in this book, R can serve many purposes and there are specialised packages and web resources available.