Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

BasicObject

A root class like Object but without references


Description

R.oo
Class BasicObject

public class BasicObject

Usage

BasicObject(core=NULL)

Arguments

core

The core value of the object.

Fields and Methods

Methods:

$ -
$<- -
.DollarNames -
.subset2Internal -
[[ -
[[<- -
as.character Gets a character string representing the object.
attach Attach an BasicObject to the R search path.
detach Detach an BasicObject from the R search path.
equals Compares an object with another.
extend Extends another class.
getFields Returns the field names of an BasicObject.
getInstantiationTime Gets the time when the object was instantiated.
hasField Checks if a field exists or not.
hashCode Gets a hash code for the object.
isReferable Checks if the object is referable or not.
newInstance Creates a new instance of the same class as this object.
objectSize Gets the size of the BasicObject in bytes.
print Prints an BasicObject.

Methods inherited from logical:
Ops,nonStructure,vector-method, Ops,structure,vector-method, Ops,vector,nonStructure-method, Ops,vector,structure-method, as.data.frame, as.raster, coerce,ANY,logical-method

Author(s)

Henrik Bengtsson


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.