Summary
In this chapter, we learned how to speed certain computations in R by leveraging GPUs. Given that most computers today come with a GPU, this gives a quick opportunity to improve the performance of R programs. This is especially true with the growing number of packages that interface R with GPUs. Some, such as gputools
, require no knowledge of CUDA or OpenCL at all. GPUs do not guarantee improved performance for all tasks.
In the next chapter, we will turn our attention to address RAM-related issues in R programs.