14.14 Controlling access

  • R6 provides two other arguments:
    • private - create fields and methods only available from within the class.
    • active - allows you to use accessor functions to define dynamic or active fields.