common_env: Find common environment in list of lazy objects.

Description Usage Arguments Examples

View source: R/lazy-call.R

Description

If no common environment is found, will return baseenv().

Usage

1
common_env(dots)

Arguments

dots

A list of lazy objects

Examples

1
2
3
4
5
common_env(lazy_dots(a, b, c))

f <- function(x) ~x
common_env(list(f(1)))
common_env(list(f(1), f(2)))

lazyeval documentation built on May 19, 2017, 2:50 p.m.

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