Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getPackageNameOf.Rdoc

Gets the package of a method or an object


Description

Gets the package of a method or an object.

Usage

## Static method (use this):
## Rdoc$getPackageNameOf(objectName, mode="any", unique=TRUE, ...)

## Don't use the below:
## S3 method for class 'Rdoc'
getPackageNameOf(static, objectName, mode="any", unique=TRUE, ...)

Arguments

objectName

An method or object name (character string).

mode

Mode of object (character string).

unique

If TRUE, only the first matching package is returned if more than one is found.

...

Not used.

Value

Returns a character string.

Author(s)

Henrik Bengtsson

See Also

For more information see Rdoc.


R.oo

R Object-Oriented Programming with or without References

v1.24.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.