standardGeneric {base} | R Documentation

## Formal Method System Placeholders

### Description

These routines are primitives used with the `methods` package. They should not be used without it and do not need to be called directly in any case.

`standardGeneric`:
  dispatch the method defined for generic function named `f`, using the actual arguments in the frame from which `standardGeneric` is called.
`objWithClass`:
  return the result of setting the class of `object` to `value`. Defined as a separate primitive function because R types cannot generally be changed in place.
`dataClass`:
  returns a single string for the class of `object` even in the case that the object has an old-style class attribute with multiple strings.
`topicName`:
  the string used internally to find documenation of the given type and topic. Called by the `?` operator and the special prompt functions in the methods package.

### Usage

    standardGeneric(f)
    objWithClass(object, value)
    dataClass(object)
    topicName(type, topic)

### Author(s)

John Chambers

[Package Contents]