Advanced R programming: a book