sys.source {base} | R Documentation |
Parses expressions in the given file, and then successively evaluates them in the specified environment.
sys.source(file, envir = NULL, chdir = FALSE,
keep.source = getOption("keep.source.pkgs"))
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.
The default value |
chdir |
logical; if |
keep.source |
logical. If |
For large files, keep.source = FALSE
may save quite a bit of
memory.
source
, and library
which uses
sys.source
.