sys.source {base}R Documentation

Parse and Evaluate Expressions from a File

Description

Parses expressions in the given file, and then successively evaluates them in the specified environment. By default, evaluation is done in the global environment.

Usage

sys.source(file, envir = NULL)

Arguments

file a character string naming the file to be read from
envir an R object specifying the environment in which the expressions are to be evaluated. May also be a list or an integer.

Details

The keep.source option is set to FALSE when reading from the file, so the source code is not kept (see options for more details).

See Also

source


[Package Contents]