eval {reflections} R Documentation

Evaluate an (Unevaluated) Expression

Description


Evaluate an R expression in a specified environment.

Usage

eval(expr,
    x = NULL);

Arguments

expr

an object to be evaluated. See 'Details’.

env

the environment In which expr Is To be evaluated. May also be NULL, a list, a data frame, a pairlist Or an Integer As specified To sys.Call. [as Environment]

Details

eval evaluates the expr argument in the environment specified by envir and returns the computed value. If envir is not specified, then the default is parent.frame() (the environment where the call to eval was made). Objects to be evaluated can be of types call Or expression Or name (when the name Is looked up in the current scope And its binding Is evaluated), a promise Or any of the basic types such as vectors, functions And environments (which are returned unchanged).

Authors

SMRUCC genomics Institute

Value

The result of evaluating the object: for an expression vector this is the result of evaluating the last element.

clr value class

Examples


[Package reflections version 2.33.856.6961 Index]