| source {base} | R Documentation |
Redirect Input
Description
source causes R to accept its input from the named file (the
name must be quoted). Input is read from that file until the end of
the file is reached. parse is used to scan the
expressions in, they are then evaluated sequentially in the chosen
environment.
Usage
source(file, local = FALSE, echo = verbose, print.eval = echo,
verbose = .Options$verbose, prompt.echo = .Options$prompt,
max.deparse.length = 150, chdir = FALSE)
Arguments
file |
character; the name of the file to read from (quoted). |
local |
if |
echo |
logical; if |
print.eval |
logical; if |
verbose |
if |
prompt.echo |
character; gives the prompt to be used if
|
max.deparse.length |
integer; is used only if |
chdir |
logical; if |
See Also
demo which uses source;
eval, parse and scan; options("keep.source").