R6: Classes with Reference Semantics
Version 2.2.1

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.

AuthorWinston Chang [aut, cre]
Date of publication2017-05-10 14:06:27 UTC
MaintainerWinston Chang <winston@stdout.org>
LicenseMIT + file LICENSE
Version2.2.1
URL https://github.com/wch/R6/
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("R6")

Getting started

README.md
Debugging methods in R6 objects
Introduction to R6 classes
Portable and non-portable R6 classes
R6 and Reference class performance tests

Popular 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
See all...

All man pages Function index File listing

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

Functions

R6 Man page
R6Class Man page
as.list.R6 Man page Source code
clone_method Source code
debug Source code
encapsulate Source code
format.R6 Source code
format.R6ClassGenerator Source code
get_inherit Source code
has_private Source code
indent Source code
is.R6 Man page Source code
is.R6Class Man page Source code
is_locked Source code
lock Source code
new Source code
object_summaries Source code
plot.R6 Source code
print.R6 Source code
print.R6ClassGenerator Source code
set Source code
trim Source code
undebug Source code
unlock Source code

Files

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

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.