Learn R Programming

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

R.methodsS3 (version 1.2.1)

Utility function for defining S3 methods

Description

Methods that simplify the setup of S3 generic functions and S3 methods. Major effort has been made in making definition of methods as simple as possible with a minimum of maintenance for package developers. For example, generic functions are created automatically, if missing, and naming conflict are automatically solved, if possible. The method setMethodS3() is a good start for those who in the future want to migrate to S4. This is a cross-platform package implemented in pure R and generates standard S3 methods.

Copy Link

Version

Install

install.packages('R.methodsS3')

Monthly Downloads

232,933

Version

1.2.1

License

LGPL (>= 2.1)

Maintainer

Henrik Bengtsson

Last Published

September 25th, 2010

Functions in R.methodsS3 (1.2.1)

R.KEYWORDS

Reserved words in R not to be used for object names
getDispatchMethodS3

Gets the S3 method that a generic function would call
getMethodS3

Get an S3 method
R.methodsS3-package

Package R.methodsS3
isGenericS3

Checks if a function is a S3/UseMethod generic function
setMethodS3

Creates an S3 method
Non-documented objects

Non-documented objects
findDispatchMethodsS3

Finds the S3 methods that a generic function would call
throw

Throws an exception
getGenericS3

Get an S3 generic function
setGenericS3

Creates a generic function in S3/UseMethod style
isGenericS4

Checks if a function is a S4 generic function