Learn R Programming

sig (version 0.0-6)

source_to_new_env: Source a file into a new environment.

Description

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

Usage

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.