Advanced
R
Q97 / 100
How does R handle "active bindings" in an environment or R6 class?
Correct! Well done.
Incorrect.
The correct answer is B) Active bindings are special variables that, when accessed or assigned, call a function instead of simply storing/retrieving a value, enabling computed properties
B
Correct Answer
Active bindings are special variables that, when accessed or assigned, call a function instead of simply storing/retrieving a value, enabling computed properties
Explanation
Active bindings (via makeActiveBinding() or R6's "active" list) define accessor functions that run on every read/write, enabling computed or validated properties.
Progress
97/100