Learn R Programming

R.oo (version 1.2.7)

getFields.Class: Returns the field names of a class

Description

Returns the field names of a class.

Usage

## S3 method for class 'Class}(this, private=FALSE, ...)':
getFieldsundefined

Returns a character vector of field names.

print(getFields(Exception))

[object Object]

For more information see Class.



internal
methods
programming

Arguments

private
If TRUE, private fields will also be returned, otherwise only public fields are returned.
...
Not used.