Learn R Programming

R.oo (version 1.26.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)

Value

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

Arguments

name

The name of the field or method to be accessed.

Author

Henrik Bengtsson

See Also

For more information see BasicObject.