Learn R Programming

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

R.methodsS3 (version 1.7.0)

S3 Methods Simplified

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.7.0

License

LGPL (>= 2.1)

Maintainer

Henrik Bengtsson

Last Published

February 20th, 2015

Functions in R.methodsS3 (1.7.0)

getGenericS3

Gets an S3 generic function
R.methodsS3-package

Package R.methodsS3
getMethodS3

Gets an S3 method
setGenericS3

Creates an S3 generic function
pkgStartupMessage

Generates a (package) startup message
getDispatchMethodS3

Gets the S3 method that a generic function would call
R.KEYWORDS

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

Checks if a function is a S3 generic function
findDispatchMethodsS3

Finds the S3 methods that a generic function would call
setMethodS3

Creates an S3 method
isGenericS4

Checks if a function is a S4 generic function
throw

Throws an exception
Non-documented objects

Non-documented objects