The R Project SVN R

Rev

Rev 19028 | Rev 37620 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
17028 hornik 1
\name{.Script}
2
\title{Scripting Language Interface}
3
\alias{.Script}
4
\description{
5
  Run a script through its interpreter with given arguments.
6
}
7
\usage{
8
.Script(interpreter, script, args, \dots)
9
}
10
\arguments{
11
  \item{interpreter}{a character string naming the interpreter for the
12
    script.}
13
  \item{script}{a character string with the base file name of the
14
    script, which must be located in the \file{\code{interpreter}}
15
    subdirectory of \file{R\_HOME/share}.}
16
  \item{args}{a character string giving the arguments to pass to the
17
    script.}
18
  \item{\dots}{further arguments to be passed to \code{\link{system}}
19
    when invoking the interpreter on the script.}
20
}
21
\note{This function is for R internal use only.}
22
\examples{
21758 hornik 23
.Script("perl", "massage-Examples.pl",
24
        paste("tools", system.file("R-ex", package = "tools")))
17028 hornik 25
}
26
\keyword{interface}