\HeaderA{.Script}{Scripting Language Interface}{.Script}
\keyword{interface}{.Script}
\begin{Description}\relax
Run a script through its interpreter with given arguments.
\end{Description}
\begin{Usage}
\begin{verbatim}
.Script(interpreter, script, args, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{interpreter}] a character string naming the interpreter for the
script.
\item[\code{script}] a character string with the base file name of the
script, which must be located in the \file{\code{interpreter}}
subdirectory of
\file{\var{R\_SHARE\_DIR}} (normally \file{\var{\LinkA{R\_HOME}{R.Rul.HOME}}/share}).
\item[\code{args}] a character string giving the arguments to pass to the
script.
\item[\code{...}] further arguments to be passed to \code{\LinkA{system}{system}}
when invoking the interpreter on the script.
\end{ldescription}
\end{Arguments}
\begin{Note}\relax
This function is for R internal use only.
\end{Note}
\begin{Examples}
\begin{ExampleCode}
## not useful on Windows, where the help is zipped.
.Script("perl", "massage-Examples.pl",
        paste("tools", system.file("R-ex", package = "tools")))
\end{ExampleCode}
\end{Examples}

