source_to_new_env: Source a file into a new environment.

Description Usage Arguments Value

View source: R/utils.R

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.


sig documentation built on May 29, 2017, 11:34 a.m.

Search within the sig package
Search all R packages, documentation and source code