| Line 108... |
Line 108... |
| 108 |
|
108 |
|
| 109 |
\code{NextMethod} works by creating a special call frame for the next
|
109 |
\code{NextMethod} works by creating a special call frame for the next
|
| 110 |
method. If no new arguments are supplied, the arguments will be the
|
110 |
method. If no new arguments are supplied, the arguments will be the
|
| 111 |
same in number, order and name as those to the current method but
|
111 |
same in number, order and name as those to the current method but
|
| 112 |
their values will be promises to evaluate their name in the current
|
112 |
their values will be promises to evaluate their name in the current
|
| 113 |
method and environment. Any named arguments matched to \code{\dots}
|
113 |
method and environment. Any arguments matched to \code{\dots}
|
| 114 |
are handled specially: they either replace existing arguments of the
|
114 |
are handled specially: named arguments either replace existing arguments
|
| - |
|
115 |
of the same name or are appended to the argument list, unnamed arguments are
|
| 115 |
same name or are appended to the argument list. They are passed on as
|
116 |
appended to the argument list. They are passed on as
|
| 116 |
the promise that was supplied as an argument to the current
|
117 |
the promise that was supplied as an argument to the current
|
| 117 |
environment. (S does this differently!) If they have been evaluated
|
118 |
environment. (S does this differently!) If they have been evaluated
|
| 118 |
in the current (or a previous environment) they remain evaluated.
|
119 |
in the current (or a previous environment) they remain evaluated.
|
| 119 |
(This is a complex area, and subject to change: see the draft
|
120 |
(This is a complex area, and subject to change: see the draft
|
| 120 |
\sQuote{R Language Definition}.)
|
121 |
\sQuote{R Language Definition}.)
|