R.oo (version 1.24.0)

DOLLAR.BasicObject: Makes the fields and methods of an BasicObject accessible via the \$ and the [[ operator

Description

Makes the fields and methods of an BasicObject accessible via the \$ and the [[ operator.

Usage

# S3 method for BasicObject
$(this, name)
  # S3 method for BasicObject
[[(this, name, exact=TRUE)

Arguments

name

The name of the field or method to be accessed.

Value

Returns the value of a field or a method (function). If no such field or method exists, NULL is returned.

See Also

For more information see BasicObject.