source_env: Source file into a new environment or list

Description Usage Arguments Value

Description

Combines sys.source and new.env.

Usage

1
2
3
4
  source_env(file, ...,
    env.opts = list(parent = parent.frame()))

  source_list(...)

Arguments

file

File name or connection to source

env.opts

Options passed to new.env.

...

In source_env, arguments passed to sys.source. In source_list, arguments passed to source_env.

Value

source_env

A new environment object.

source_list

A list object.


jrnold/stanmisc documentation built on May 20, 2019, 2:06 a.m.