| Line 40... |
Line 40... |
| 40 |
internal \R objects, passing the arguments to the code as a sequence
|
40 |
internal \R objects, passing the arguments to the code as a sequence
|
| 41 |
of \R objects. They assume C calling conventions, so can usually
|
41 |
of \R objects. They assume C calling conventions, so can usually
|
| 42 |
also be used for C++ code.
|
42 |
also be used for C++ code.
|
| 43 |
|
43 |
|
| 44 |
For details about how to write code to use with these functions see
|
44 |
For details about how to write code to use with these functions see
|
| 45 |
the chapter on \sQuote{System and foreign language interfaces} in
|
45 |
the chapter \manual{R-exts}{System and foreign language interfaces}.
|
| 46 |
the \sQuote{Writing R Extensions} manual. They differ in the way the
|
46 |
They differ in the way the arguments are passed to the C code:
|
| 47 |
arguments are passed to the C code: \code{.External} allows for a
|
- |
|
| 48 |
variable or unlimited number of arguments.
|
47 |
\code{.External} allows for a variable or unlimited number of arguments.
|
| 49 |
|
48 |
|
| 50 |
These functions are \link{primitive}, and \code{.NAME} is always
|
49 |
These functions are \link{primitive}, and \code{.NAME} is always
|
| 51 |
matched to the first argument supplied (which should not be named).
|
50 |
matched to the first argument supplied (which should not be named).
|
| 52 |
For clarity, avoid using names in the arguments passed to \code{\dots}
|
51 |
For clarity, avoid using names in the arguments passed to \code{\dots}
|
| 53 |
that match or partially match \code{.NAME}.
|
52 |
that match or partially match \code{.NAME}.
|
| Line 81... |
Line 80... |
| 81 |
\bibshow{R:Chambers:1998} (\code{.Call}.)
|
80 |
\bibshow{R:Chambers:1998} (\code{.Call}.)
|
| 82 |
}
|
81 |
}
|
| 83 |
\seealso{
|
82 |
\seealso{
|
| 84 |
\code{\link{dyn.load}}, \code{\link{.C}}, \code{\link{.Fortran}}.
|
83 |
\code{\link{dyn.load}}, \code{\link{.C}}, \code{\link{.Fortran}}.
|
| 85 |
|
84 |
|
| 86 |
The \sQuote{Writing R Extensions} manual.
|
85 |
The \manual{R-exts}{} manual.
|
| 87 |
}
|
86 |
}
|
| 88 |
\keyword{programming}
|
87 |
\keyword{programming}
|