Learn R Programming

R.oo (version 1.26.0)

Rdoc$getPackageNameOf: 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 Rdoc getPackageNameOf(static, objectName, mode="any", unique=TRUE, ...)

Value

Returns a character string.

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.

Author

Henrik Bengtsson

See Also

For more information see Rdoc.