Learn R Programming

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

R.methodsS3 (version 1.4.4)

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 may want to migrate to S4. This is a cross-platform package implemented in pure R that generates standard S3 methods.

Copy Link

Version

Install

install.packages('R.methodsS3')

Monthly Downloads

232,933

Version

1.4.4

License

LGPL (>= 2.1)

Maintainer

Henrik Bengtsson

Last Published

June 30th, 2013

Functions in R.methodsS3 (1.4.4)

findDispatchMethodsS3

Finds the S3 methods that a generic function would call
getDispatchMethodS3

Gets the S3 method that a generic function would call
Non-documented objects

Non-documented objects
R.KEYWORDS

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

Checks if a function is a S4 generic function
getGenericS3

Get an S3 generic function
R.methodsS3-package

Package R.methodsS3
getMethodS3

Get an S3 method
throw

Throws an exception
isGenericS3

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

Creates a generic function in S3/UseMethod style
setMethodS3

Creates an S3 method