Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

evalq

Evaluate an (unevaluated) expression


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

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

  • base::evalq for the base evalq function.

Examples

evalq  # note just a copy of the original evalq

BiocGenerics

S4 generic functions used in Bioconductor

v0.36.1
Artistic-2.0
Authors
The Bioconductor Dev Team
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.