Code examples from the book R High Performance Computing (Packt Publishing)