R.oo (version 1.20.0)

getPackage.Class: Gets the package to which the class belongs

Description

Gets the package to which the class belongs.

Usage

"getPackage"(this, ...)

Arguments

...
Not used.

Value

Returns a Package.

See Also

Package. class(). setConstructorS3(). For more information see Class.

Examples

Run this code
  print(getPackage(Object))

Run the code above in your browser using DataLab