Rev 2 | Rev 3076 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Foreign}\title{Foreign Function Interface}\usage{.C(name, \dots, NAOK=FALSE).Fortran(name, \dots, NAOK=FALSE)}\alias{.C}\alias{.Fortran}\arguments{\item{name}{a character string giving the name of a C function orFortran subroutine.}\item{\dots}{arguments to be passed to the foreign function.}\item{NAOK}{if \code{TRUE} then any \code{NA} values in the argumentsare passed on to the foreign function.If \code{FALSE}, the presence of \code{NA} values isregarded as an error.}}\value{The functions \code{.C} and \code{.Fortran} can be used tomake calls to C and Fortran code.The functions return a list similar to the \code{\dots}list of arguments passed in, but reflecting anychanges made by the C or Fortran code.These calls are typically made in conjunction with\code{dyn.load} which links DLLs to R.}\seealso{\code{\link{dyn.load}}.}\keyword{programming}