Rev 45052 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/base/man/zScript.Rd% Part of the R package, http://www.R-project.org% Copyright 1995-2007 R Core Development Team% Distributed under GPL 2 or later\name{.Script}\title{Scripting Language Interface}\alias{.Script}\description{Run a script through its interpreter with given arguments.}\usage{.Script(interpreter, script, args, \dots)}\arguments{\item{interpreter}{a character string naming the interpreter for thescript.}\item{script}{a character string with the base file name of thescript, which must be located in the \file{\code{interpreter}}subdirectory of#ifdef unix\file{\var{R\_SHARE\_DIR}} (normally \file{\var{\link[base:Rhome]{R\_HOME}}/share}).}#endif#ifdef windows\file{\var{\link[base:Rhome]{R\_HOME}}/share}.}#endif\item{args}{a character string giving the arguments to pass to thescript.}\item{\dots}{further arguments to be passed to \code{\link{system}}when invoking the interpreter on the script.}}\note{This function is for R internal use only.}\examples{## not useful on Windows, where the help is zipped..Script("perl", "massage-Examples.pl",paste("tools", system.file("R-ex", package = "tools")))}\keyword{interface}