newInstance.Class: Creates a new instance of this class
Description
Creates a new instance of this class.
Important: It should always be possible to create a new Object by
calling the constructor without arguments.
This method is simply calling the constructor method of the class.Usage
## S3 method for class 'Class}(this, ...)':
newInstanceundefined
- ...
{Not used.}
Returns a reference to an Object
.
obj <- newInstance(Object)
# equivalent to
obj <- Object()
[object Object]
For more information see Class
.
internal
methods
programming