R High Performance Programming
- Length: 180 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2015-01-30
- ISBN-10: 1783989262
- ISBN-13: 9781783989263
- Sales Rank: #577760 (See Top 100 Books)
Overcome performance difficulties in R with a range of exciting techniques and solutions
About This Book
- Benchmark and profile R programs to solve performance bottlenecks
- Combine the ease of use and flexibility of R with the power of big data tools
- Filled with practical techniques and useful code examples to process large data sets more efficiently
Who This Book Is For
This book is for programmers and developers who want to improve the performance of their R programs by making them run faster with large data sets or who are trying to solve a pesky performance problem.
In Detail
With the increasing use of information in all areas of business and science, R provides an easy and powerful way to analyze and process the vast amounts of data involved. It is one of the most popular tools today for faster data exploration, statistical analysis, and statistical modeling and can generate useful insights and discoveries from large amounts of data.
Through this practical and varied guide, you will become equipped to solve a range of performance problems in R programming. You will learn how to profile and benchmark R programs, identify bottlenecks, assess and identify performance limitations from the CPU, identify memory or disk input/output constraints, and optimize the computational speed of your R programs using great tricks, such as vectorizing computations. You will then move on to more advanced techniques, such as compiling code and tapping into the computing power of GPUs, optimizing memory consumption, and handling larger-than-memory data sets using disk-based memory and chunking.
Table of Contents
Chapter 1. Understanding R’s Performance – Why Are R Programs Sometimes Slow?
Chapter 2. Profiling – Measuring Code’s Performance
Chapter 3. Simple Tweaks to Make R Run Faster
Chapter 4. Using Compiled Code for Greater Speed
Chapter 5. Using GPUs to Run R Even Faster
Chapter 6. Simple Tweaks to Use Less RAM
Chapter 7. Processing Large Datasets with Limited RAM
Chapter 8. Multiplying Performance with Parallel Computing
Chapter 9. Offloading Data Processing to Database Systems
Chapter 10. R and Big Data