| Line 30... |
Line 30... |
| 30 |
|
30 |
|
| 31 |
\code{call} is a primitive, so the first argument is
|
31 |
\code{call} is a primitive, so the first argument is
|
| 32 |
taken as \code{name} and the remaining arguments as arguments for the
|
32 |
taken as \code{name} and the remaining arguments as arguments for the
|
| 33 |
constructed call: if the first argument is named the name must
|
33 |
constructed call: if the first argument is named the name must
|
| 34 |
partially match \code{name}.
|
34 |
partially match \code{name}.
|
| 35 |
|
35 |
|
| 36 |
\code{is.call} is used to determine whether \code{x} is a call (i.e.,
|
36 |
\code{is.call} is used to determine whether \code{x} is a call (i.e.,
|
| 37 |
of mode \code{"call"}).
|
37 |
of mode \code{"call"}).
|
| 38 |
|
38 |
|
| 39 |
Objects of mode \code{"list"} can be coerced to mode \code{"call"}.
|
39 |
Objects of mode \code{"list"} can be coerced to mode \code{"call"}.
|
| 40 |
The first element of the list becomes the function part of the call,
|
40 |
The first element of the list becomes the function part of the call,
|
| 41 |
so should be a function or the name of one (as a symbol; a quoted
|
41 |
so should be a function or the name of one (as a symbol; a quoted
|
| 42 |
string will not do).
|
42 |
string will not do).
|
| 43 |
|
43 |
|
| 44 |
All three are \link{primitive} functions. \code{call} is
|
44 |
All three are \link{primitive} functions. \code{call} is
|
| 45 |
\sQuote{special}: it only evaluates its first argument.
|
45 |
\sQuote{special}: it only evaluates its first argument.
|
| 46 |
}
|
46 |
}
|
| 47 |
\section{Warning}{
|
47 |
\section{Warning}{
|
| 48 |
\code{call} should not be used to attempt to evade restrictions on the
|
48 |
\code{call} should not be used to attempt to evade restrictions on the
|