Learn R Programming

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

methods (version 3.6.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.6.0

License

Part of R 3.6.0

Last Published

December 12th, 2019

Functions in methods (3.6.0)

GenericFunctions

Tools for Managing Generic Functions
language-class

Classes to Represent Unevaluated Language Objects
LinearMethodsList-class

Class "LinearMethodsList"
StructureClasses

Classes Corresponding to Basic Structures
TraceClasses

Classes Used Internally to Control Tracing
classesToAM

Compute an Adjacency Matrix for Superclasses of Class Definitions
BasicClasses

Classes Corresponding to Basic Data Types
Classes

S4 Class Documentation
Methods_for_S3

Methods For S3 and S4 Dispatch
EmptyMethodsList-class

Internal Class representing Empty Methods List
environment-class

Class "environment"
callNextMethod

Call an Inherited Method
dotsMethods

The Use of ... in Method Signatures
inheritedSlotNames

Names of Slots Inherited From a Super Class
initialize-methods

Methods to Initialize New Objects from a Class
MethodDefinition-class

Classes to Represent Method Definitions
ObjectsWithPackage-class

A Vector of Object Names, with associated Package Names
MethodSupport

Additional (Support) Functions for Methods
RClassUtils

Utilities for Managing Class Definitions
methods-package

Formal Methods and Classes
findMethods

Description of the Methods Defined for a Generic Function
new

Generate an Object from a Class
fixPre1.8

Fix Objects Saved from R Versions Previous to 1.8
evalSource

Use Function Definitions from a Source File without Reinstalling a Package
genericFunction-class

Generic Function Objects
Classes_Details

Class Definitions
findClass

Find Class Definitions
getClass

Get Class Definition
Methods_Details

General Information on Methods
getMethod

Get or Test for the Definition of a Method
selectSuperClasses

Super Classes (of Specific Kinds) of a Class
setAs

Methods for Coercing an Object to a Class
getPackageName

The Name associated with a Given Package
Documentation

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

Methods for Non-Generic Functions in Other Packages
languageEl

Elements of Language Objects
showMethods

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

Class MethodsList, Defunct Representation of Methods
signature-class

Class "signature" For Method Definitions
MethodsList

MethodsList Objects
MethodWithNext-class

Class MethodWithNext
nonStructure-class

A non-structure S4 Class for basic types
RMethodUtils

Method Utilities
LocalReferenceClasses

Localized Objects based on Reference Classes
promptClass

Generate a Shell for Documentation of a Formal Class
setGeneric

Create a Generic Version of a Function
Methods

S4 Class Documentation
setClass

Create a Class Definition
S4groupGeneric

S4 Group Generic Functions
SClassExtension-class

Class to Represent Inheritance (Extension) Relations
is

Is an Object from a Class?
isSealedMethod

Check for a Sealed Method or Class
setClassUnion

Classes Defined as the Union of Other Classes
methods-defunct

Defunct Functions in Package methods
setGroupGeneric

Create a Group Generic Version of a Function
S3Part

S4 Classes that Contain S3 Classes
makeClassRepresentation

Create a Class Definition
slot

The Slots in an Object from a Formal Class
canCoerce

Can an Object be Coerced to a Certain S4 Class?
methods-deprecated

Deprecated Functions in Package methods
cbind2

Combine two Objects by Columns or Rows
envRefClass-class

Class "envRefClass"
validObject

Test the Validity of an Object
as

Force an Object to Belong to a Class
substituteDirect

SubstituteDirect
callGeneric

Call the Current Generic Function from a Method
show

Show an Object
hasArg

Look for an Argument in the Call
implicitGeneric

Manage Implicit Versions of Generic Functions
testInheritedMethods

Test for and Report about Selection of Inherited Methods
.BasicFunsList

List of Builtin and Special Functions
className

Class names including the corresponding package
method.skeleton

Create a Skeleton File for a New Method
classRepresentation-class

Class Objects
removeMethod

Remove a Method
representation

Construct a Representation or a Prototype for a Class Definition
methodUtilities

Utility Functions for Methods and S-Plus Compatibility
promptMethods

Generate a Shell for Documentation of Formal Methods
setMethod

Create and Save a Method
ReferenceClasses

Objects With Fields Treated by Reference (OOP-style)
setOldClass

Register Old-Style (S3) Classes and Inheritance
setIs

Specify a Superclass Explicitly
setLoadActions

Set Actions For Package Loading
Introduction

Basic use of S4 Methods and Classes