Learn R Programming

⚠️There's a newer version (3.6.2) of this package.Take me there.

methods (version 3.2.0)

Formal Methods and Classes

Description

Formally defined methods and classes for R objects, plus other programming tools, as described in the reference.

Copy Link

Version

Version

3.2.0

License

Part of R 3.2.0

Maintainer

R-core R-core@R-project.org

Last Published

December 12th, 2019

Functions in methods (3.2.0)

Documentation

Using and Creating On-line Documentation for Classes and Methods
canCoerce

Can an Object be Coerced to a Certain S4 Class?
callGeneric

Call the Current Generic Function from a Method
classesToAM

Compute an Adjacency Matrix for Superclasses of Class Definitions
cbind2

Combine two Objects by Columns or Rows
BasicClasses

Classes Corresponding to Basic Data Types
className

Class names including the corresponding package
Classes

Class Definitions
classRepresentation-class

Class Objects
as

Force an Object to Belong to a Class
EmptyMethodsList-class

Internal Class representing Empty Methods List
findClass

Computations with Classes
findMethods

Description of the Methods Defined for a Generic Function
environment-class

Class "environment"
dotsMethods

The Use of ... in Method Signatures
genericFunction-class

Generic Function Objects
GenericFunctions

Tools for Managing Generic Functions
evalSource

Use Function Definitions from a Source File without Reinstalling a Package
fixPre1.8

Fix Objects Saved from R Versions Previous to 1.8
getClass

Get Class Definition
hasArg

Look for an Argument in the Call
getPackageName

The Name associated with a Given Package
language-class

Classes to Represent Unevaluated Language Objects
getMethod

Get or Test for the Definition of a Method
inheritedSlotNames

Names of Slots Inherited From a Super Class
is

Is an Object from a Class?
isSealedMethod

Check for a Sealed Method or Class
languageEl

Elements of Language Objects
initialize-methods

Methods to Initialize New Objects from a Class
implicitGeneric

Manage Implicit Versions of Generic Functions
MethodsList-class

Class MethodsList, Defunct Representation of Methods
LinearMethodsList-class

Class "LinearMethodsList"
MethodSupport

Additional (Support) Functions for Methods
methods-package

Formal Methods and Classes
LocalReferenceClasses

Localized Objects based on Reference Classes
Methods

General Information on Methods
methods-deprecated

Deprecated Functions in Package methods
methods-defunct

Defunct Functions in Package methods
method.skeleton

Create a Skeleton File for a New Method
MethodDefinition-class

Classes to Represent Method Definitions
promptClass

Generate a Shell for Documentation of a Formal Class
nonStructure-class

A non-structure S4 Class for basic types
promptMethods

Generate a Shell for Documentation of Formal Methods
methodUtilities

Utility Functions for Methods and S-Plus Compatibility
ObjectsWithPackage-class

A Vector of Object Names, with associated Package Names
MethodWithNext-class

Class MethodWithNext
callNextMethod

Call an Inherited Method
new

Generate an Object from a Class
representation

Construct a Representation or a Prototype for a Class Definition
RMethodUtils

Method Utilities
setGeneric

Define a New Generic Function
selectSuperClasses

Super Classes (of Specific Kinds) of a Class
SClassExtension-class

Class to Represent Inheritance (Extension) Relations
setLoadActions

Set Actions For Package Loading
S3Part

S3-style Objects and S4-class Objects
S4groupGeneric

S4 Group Generic Functions
setClassUnion

Classes Defined as the Union of Other Classes
setClass

Create a Class Definition
setOldClass

Register Old-Style (S3) Classes and Inheritance
setMethod

Create and Save a Method
StructureClasses

Classes Corresponding to Basic Structures
testInheritedMethods

Test for and Report about Selection of Inherited Methods
substituteDirect

SubstituteDirect
TraceClasses

Classes Used Internally to Control Tracing
.BasicFunsList

List of Builtin and Special Functions
validObject

Test the Validity of an Object
envRefClass-class

Class "envRefClass"
slot

The Slots in an Object from a Formal Class
makeClassRepresentation

Create a Class Definition
show

Show an Object
signature-class

Class "signature" For Method Definitions
showMethods

Show all the methods for the specified function(s) or class