| Line 88... |
Line 88... |
| 88 |
\section{Implementation Details}{
|
88 |
\section{Implementation Details}{
|
| 89 |
Methods dispatching on \dQuote{\dots} were introduced in version 2.8.0 of
|
89 |
Methods dispatching on \dQuote{\dots} were introduced in version 2.8.0 of
|
| 90 |
\R. The initial implementation of the corresponding selection and
|
90 |
\R. The initial implementation of the corresponding selection and
|
| 91 |
dispatch is in an R function, for flexibility while the new
|
91 |
dispatch is in an R function, for flexibility while the new
|
| 92 |
mechanism is being studied. In this implementation, a local version
|
92 |
mechanism is being studied. In this implementation, a local version
|
| 93 |
of \code{setGeneric} is inserted in the generic function's
|
93 |
of \code{standardGeneric} is inserted in the generic function's
|
| 94 |
environment. The local version selects a method according to the
|
94 |
environment. The local version selects a method according to the
|
| 95 |
criteria above and calls that method, from the environment of the
|
95 |
criteria above and calls that method, from the environment of the
|
| 96 |
generic function. This is slightly different from the action taken
|
96 |
generic function. This is slightly different from the action taken
|
| 97 |
by the C implementation when \dQuote{\dots} is not involved. Aside from the
|
97 |
by the C implementation when \dQuote{\dots} is not involved. Aside from the
|
| 98 |
extra computing time required, the method is evaluated in a true
|
98 |
extra computing time required, the method is evaluated in a true
|