evalq: Evaluate an (unevaluated) expression

Description Usage Arguments Value See Also Examples

View source: R/eval.R

Description

evalq evaluates an R expression (the quoted form of its first argument) in a specified environment.

NOTE: This man page is for the evalq wrapper defined in the BiocGenerics package. See ?base::evalq for the function defined in the base package. This wrapper correctly delegates to the eval generic, rather than base::eval.

Usage

1
2
3
evalq(expr, envir=parent.frame(),
           enclos=if (is.list(envir) || is.pairlist(envir))
                  parent.frame() else baseenv())

Arguments

expr

Quoted to form the expression that is evaluated.

envir

The environment in which expr is to be evaluated. May be any object supported by methods on the eval generic.

enclos

See ?base::evalq for a description of this argument.

Value

See ?base::evalq.

See Also

Examples

1
evalq  # note just a copy of the original evalq

BiocGenerics documentation built on April 17, 2021, 6:01 p.m.