12) Performance

📖 Lecture

This week we review more underlying principles that have to do with performance in R.

🎯 Objectives

At the end of this week you will be able to:

  • Provide an example of copy-on-modify policy.
  • Apply the function system.time() to time commands in R.
  • Apply yhe function Rprof() and summaryRprof() to profile code in R.

📚 Reading

🔬 Lab

Practice measuring performance.