Object Oriented Programming in R Part 2

Daniel Jacobs. Presented at Advanced R Book Club
9/7/2019

plot of chunk unnamed-chunk-1 OO YEAH!

S3 Review

S3=>

  • Commonly used generics ( summary, print etc. )
  • Common classes: e.g. factor
  • R's type system(s) ( base types versus class types )
  • Common methods: UseMethod, class

Goals

Today we will cover!

  • R6
  • S4
  • Tradeoffs

Expect to understand:

  • when to choose one OO system versus another
  • a lot more about Object Oriented Programming
  • A little bit of syntax

Relative Usage

plot of chunk unnamed-chunk-2

Thanks and one more thing..

Don't you remember?

The more times you remember a thing, the less likely you are to forget it.

Become a beta tester! www.dontyouremember.com

Dont You Remember

Try out www.dontyouremember.com

  1. Install
  2. Use R
  3. Do Your Flashcards Daily
  4. Remember what you learned!