This help topic is for R version 2.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\_SHARE\_DIR’ (normally ‘R\_HOME/share’).

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")))

[Package base version 2.5.0 ]