The R Project SVN R

Rev

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

Rev Author Line No. Line
42333 ripley 1
% File src/library/base/man/zScript.Rd
68948 ripley 2
% Part of the R package, https://www.R-project.org
59039 ripley 3
% Copyright 1995-2009 R Core Team
42333 ripley 4
% Distributed under GPL 2 or later
5
 
17028 hornik 6
\name{.Script}
7
\title{Scripting Language Interface}
56186 murdoch 8
\alias{.Script}
17028 hornik 9
\description{
50312 ripley 10
  Internal interface to run a script through its interpreter.
17028 hornik 11
}
12
\usage{
13
.Script(interpreter, script, args, \dots)
14
}
15
\arguments{
16
  \item{interpreter}{a character string naming the interpreter for the
17
    script.}
18
  \item{script}{a character string with the base file name of the
19
    script, which must be located in the \file{\code{interpreter}}
35705 ripley 20
    subdirectory of
21
#ifdef unix
49567 ripley 22
    \file{\var{R_SHARE_DIR}} (normally \file{\var{\link{R_HOME}}/share}).
35705 ripley 23
#endif
24
#ifdef windows
49567 ripley 25
    \file{\var{\link{R_HOME}}/share}.
35705 ripley 26
#endif
46945 murdoch 27
  }
17028 hornik 28
  \item{args}{a character string giving the arguments to pass to the
29
    script.}
30
  \item{\dots}{further arguments to be passed to \code{\link{system}}
31
    when invoking the interpreter on the script.}
32
}
33
\note{This function is for R internal use only.}
34
\keyword{interface}
48233 ripley 35
\keyword{internal}