PopulateEnv: PopulateEnv

Description Usage Arguments Details Value

Description

Populates environment with functions in a file or directory.

Usage

1
PopulateEnv(env.name, path, new = FALSE, ...)

Arguments

env.name

environment name

path

file(s) or directory containing R files

new

T/F recreate environment

...

further arguments passed to list.files

Details

This function provides a means of keeping functions (and data) in separate namespaces. Creates and attaches named environment to search() path if it doesn't already exist.

Value

Side effect of populating environment with sourced file contents.


stakahama/Rfunctools documentation built on June 8, 2021, 10:25 p.m.