% 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 the script.} \item{script}{a character string with the base file name of the script, which must be located in the \file{\code{interpreter}} subdirectory of #ifdef unix \file{R\_SHARE\_DIR} (normally \file{R\_HOME/share}).} #endif #ifdef windows \file{R\_HOME/share}.} #endif \item{args}{a character string giving the arguments to pass to the script.} \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}