getPackageName
returns the character-string name of the package
(without the extraneous "package:"
found in the search list).
packageSlot
returns or sets the package name slot (currently
an attribute, not a formal slot, but this may change someday).
setPackageName
can be used to establish a package name in an
environment that would otherwise not have one. This
allows you to create classes and/or methods in an arbitrary
environment, but it is usually preferable to create packages by the
standard R programming tools (package.skeleton
, etc.)