b1807892d8
The R6 package allows the creation of classes with reference semantics, similar to R's built-in reference classes. Compared to reference classes, R6 classes are simpler and lighter-weight, and they are not built on S4 classes so they do not require the methods package. These classes allow public and private members, and they support inheritance, even when the classes are defined in different packages.
7 lines
405 B
Text
7 lines
405 B
Text
The R6 package allows the creation of classes with reference
|
|
semantics, similar to R's built-in reference classes. Compared to
|
|
reference classes, R6 classes are simpler and lighter-weight, and they
|
|
are not built on S4 classes so they do not require the methods
|
|
package. These classes allow public and private members, and they
|
|
support inheritance, even when the classes are defined in different
|
|
packages.
|