.C(name, ..., NAOK=FALSE) .Fortran(name, ..., NAOK=FALSE)
name
| a character string giving the name of a C function or Fortran subroutine. |
...
| arguments to be passed to the foreign function. |
NAOK
|
if TRUE then any NA values in the arguments
are passed on to the foreign function.
If FALSE , the presence of NA values is
regarded as an error.
|
.C
and .Fortran
can be used to
make calls to C and Fortran code.
The functions return a list similar to the ...
list of arguments passed in, but reflecting any
changes made by the C or Fortran code.
These calls are typically made in conjunction with
dyn.load
which links DLLs to R.
dyn.load
.