Learn R Programming

R.oo (version 1.21.0)

as.character.Class: Returns a short string describing the class

Description

Returns a short string describing the class.

Usage

# S3 method for Class
as.character(x, ...)

Arguments

...

Not used.

Value

Returns a character string.

See Also

For more information see Class.

Examples

Run this code
# NOT RUN {
  print(as.character(Object))

  # gives:  "Class Object: no fields, 8 methods (no inherited)"
# }

Run the code above in your browser using DataLab