R6: Classes with Reference Semantics

Share:

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.

Author
Winston Chang [aut, cre]
Date of publication
2016-10-05 09:29:43
Maintainer
Winston Chang <winston@stdout.org>
License
MIT + file LICENSE
Version
2.2.0
URLs

View on CRAN

Man pages

as.list.R6
Create a list from an R6 object
is.R6
Is an object an R6 Class Generator or Object?
R6Class
Create an R6 reference object generator

Files in this package

R6
R6/inst
R6/inst/doc
R6/inst/doc/Introduction.Rmd
R6/inst/doc/Debugging.html
R6/inst/doc/Portable.html
R6/inst/doc/Debugging.R
R6/inst/doc/Debugging.Rmd
R6/inst/doc/Performance.Rmd
R6/inst/doc/Introduction.R
R6/inst/doc/Performance.R
R6/inst/doc/Introduction.html
R6/inst/doc/Portable.Rmd
R6/inst/doc/Portable.R
R6/inst/doc/Performance.html
R6/tests
R6/tests/manual
R6/tests/manual/test-inheritance.R
R6/tests/manual/README
R6/tests/manual/encapsulation.R
R6/tests/testthat.R
R6/tests/testthat
R6/tests/testthat/test-portable.R
R6/tests/testthat/test-portable-inheritance.R
R6/tests/testthat/test-nonportable.R
R6/tests/testthat/test-nonportable-inheritance.R
R6/tests/testthat/test-set.R
R6/tests/testthat/test-clone.R
R6/tests/testthat/helper.R
R6/tests/testthat/test-finalizer.R
R6/tests/testthat/test-s3-methods.R
R6/NAMESPACE
R6/NEWS.md
R6/R
R6/R/utils.R
R6/R/aaa.R
R6/R/clone.R
R6/R/new.R
R6/R/generator_funs.R
R6/R/env_utils.R
R6/R/is.R
R6/R/print.R
R6/R/r6_class.R
R6/R/aslist.R
R6/vignettes
R6/vignettes/Introduction.Rmd
R6/vignettes/Debugging.Rmd
R6/vignettes/Performance.Rmd
R6/vignettes/mystyle.css
R6/vignettes/Portable.Rmd
R6/README.md
R6/MD5
R6/build
R6/build/vignette.rds
R6/DESCRIPTION
R6/man
R6/man/as.list.R6.Rd
R6/man/is.R6.Rd
R6/man/R6Class.Rd
R6/LICENSE