Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


R.oo (version 1.7.5)

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

Description

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

Usage

## S3 method for class 'BasicObject':
$(this, name)
  ## S3 method for class 'BasicObject':
[[(this, name)

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.