R6: Encapsulated Classes with Reference Semantics

Creates 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.

Getting started

Package details

AuthorWinston Chang [aut, cre]
MaintainerWinston Chang <[email protected]>
LicenseMIT + file LICENSE
URL https://r6.r-lib.org https://github.com/r-lib/R6/
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the R6 package in your browser

Any scripts or data that you put into this service are public.

R6 documentation built on Nov. 13, 2019, 1:15 a.m.