| Line 61... |
Line 61... |
| 61 |
generic function object itself has slots containing its name and its
|
61 |
generic function object itself has slots containing its name and its
|
| 62 |
package name.
|
62 |
package name.
|
| 63 |
The package name of a generic is set according to the package
|
63 |
The package name of a generic is set according to the package
|
| 64 |
from which it originally comes; in particular, and frequently, the
|
64 |
from which it originally comes; in particular, and frequently, the
|
| 65 |
package where a non-generic version of the function originated.
|
65 |
package where a non-generic version of the function originated.
|
| 66 |
For example, generic functions for all the functions in package \code{base} will
|
66 |
For example, generic functions for all the functions in package \pkg{base} will
|
| 67 |
have \code{"base"} as the package name, although none of them is an
|
67 |
have \code{"base"} as the package name, although none of them is an
|
| 68 |
S4 generic on that package.
|
68 |
S4 generic on that package.
|
| 69 |
These include most of the base functions that are primitives, rather than
|
69 |
These include most of the base functions that are primitives, rather than
|
| 70 |
true functions; see the section on primitive functions in the
|
70 |
true functions; see the section on primitive functions in the
|
| 71 |
documentation for \code{\link{setGeneric}} for details.
|
71 |
documentation for \code{\link{setGeneric}} for details.
|