This help topic is for R version 1.5.0. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/zScript.html
.Script {base}R Documentation

Scripting Language Interface

Description

Run a script through its interpreter with given arguments.

Usage

.Script(interpreter, script, args, ...)

Arguments

interpreter

a character string naming the interpreter for the script.

script

a character string with the base file name of the script, which must be located in the ‘interpreter’ subdirectory of ‘R\_HOME/share’.

args

a character string giving the arguments to pass to the script.

...

further arguments to be passed to system when invoking the interpreter on the script.

Note

This function is for R internal use only.

Examples

.Script("perl", "maketitle.pl", file.path(.Library, "base", "DESCRIPTION"))

[Package base version 1.5.0 ]