Skip to Content
R Programming By Example
book

R Programming By Example

by Omar Trejo Navarro
December 2017
Beginner to intermediate
470 pages
12h 29m
English
Packt Publishing
Content preview from R Programming By Example

Understanding why R can be slow

Understanding why a programming language can be slow is a fundamental skill needed to be able to increase the speed of its implementations. Any implementation in any programming language is similarly affected by an algorithm's time and memory complexities, because they are algorithms, and not implementation properties. However, the way languages handle specific implementations can vary quite a bit, and that's what we'll focus on now.

In the case of R, people often find the following four main bottlenecks:

  • Object immutability
  • Interpreted dynamic typings
  • Memory-bound processes
  • Single-threaded processes

By no means is this list complete or encountered in every implementation. It's just the most common bottlenecks ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Efficient R Programming

Efficient R Programming

Colin Gillespie, Robin Lovelace
R Programming

R Programming

Jared P. Lander

Publisher Resources

ISBN: 9781788292542Supplemental Content