CMD + K

r-r6

Community

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.

Installation

To install this package, run one of the following:

Conda
$conda install rdonnellyr::r-r6

Usage Tracking

2.2.2
1 / 8 versions selected
Total downloads: 0

About

Summary

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.

Information Last Updated

Mar 25, 2025 at 16:21

License

MIT + file LICENSE

Total Downloads

3.1K

Platforms

macOS 64 Version: 2.2.2