source_to_new_env: Source a file into a new environment.

Description

Silently sources a file into a new environment, returning that environment.

Usage

1
source_to_new_env(file, encoding = getOption("encoding"))

Arguments

file

a file to source.

encoding

character encoding of that file.

Value

An environment containing the sourced variables.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.