Foreign {base} | R Documentation |
.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 |
The functions .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
.