Skip to content

renkun-ken/R6

 
 

Repository files navigation

R6 classes

Build Status

This package contains an implemention of classes with reference semantics, and it is a simpler, faster, lighter-weight alternative to R's built-in reference classes.

Additionally, these classes are not built on S4 classes, so they do not require the methods package. They allow public and private members, and they support inheritance.

Why the name R6? When R's reference classes were introduced, some users, following the names of R's existing class systems S3 and S4, called the new class system R5 in jest. Although reference classes are not actually called R5, the name of this package and its classes takes inspiration from that name.

To install this package in R:

install.packages('R6')

Documentation

About

R objects with reference semantics

Resources

License

Stars

Watchers

Forks

Packages

No packages published