Provides a small set of functions for managing R environments, with defaults designed to encourage usage patterns that scale well to larger code bases. It provides: import_from(), a flexible way to assign bindings that defaults to the current environment; include(), a vectorized alternative to base::source() that also default to the current environment; and attach_eval() and attach_source(), a way to evaluate expressions in attached environments. Together, these (and other) functions pair to provide a robust alternative to base::library() and base::source().
Package details |
|
---|---|
Author | Tomasz Kalinowski [aut, cre] |
Maintainer | Tomasz Kalinowski <kalinowskit@gmail.com> |
License | GPL-3 |
Version | 0.3.0 |
URL | https://t-kalinowski.github.io/envir/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.