Description Details Author(s) References
The main intention this package is to facilitate rapid prototyping by providing central interfacees for the creation of S3 classes that provide some degree of structure while also being flexible enough to fit the needs of rapid prototyping.
The core functions/methods of this package:
createInstance
:
Simple way of creating arbitrary S3 class instances on the fly.
createR6Instance
:
Simple way of creating R6 class instances on the fly.
ensureClassRegistration
:
Takes care of registering classes via setOldClass
.
It is mainly designed for the use of "on the fly" S3 classes rather
than formal S4 or S4 Reference Classes.
A call to this function inside your package's .onLoad
or .onAttach
functions would make sure that all the
S3 classes that you are using are registered properly. This in turn
allows using them in combination with S4 methods.
Janko Thyson janko.thyson@rappster.de
http://github.com/rappster/classr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.