\Header{do.call}{Execute a Function Call}
\keyword{programming}{do.call}
\begin{Description}\relax
\code{do.call} executes a function call from the name of the function
and a list of arguments to be passed to it.\end{Description}
\begin{Usage}
\begin{verbatim}
do.call(what, args)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{what}] a character string naming the function to be called.
\item[\code{args}] a \emph{list} of arguments to the function call.  The
\code{names} attribute of \code{args} gives the argument names.
\end{ldescription}
\end{Arguments}
\begin{Value}
The result of the (evaluated) function call.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{call}} which creates an unevaluated call.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
do.call("complex", list(imag = 1:3))
\end{ExampleCode}
\end{Examples}

