Parses expressions in the given file, and then successively evaluates them in the specified environment.
a character string naming the file to be read from
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
For large files,
keep.source = FALSE may save quite a bit of
In order for the code being evaluated to use the correct environment
(for example, in global assignments), source code in packages should
topenv(), which will return the namespace, if any,
the environment set up by
sys.source, or the global environment
if a saved image is being used.
library which uses
1 2 3 4 5 6 7 8 9 10
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.