Learn R Programming

wrapr (version 1.1.1)

ateval: Evaluate an expression with @name substitution (deprecated).

Description

The expression represented by the text of the .-argument is evaluated in the current environment will all "@name" forms replaced by the value of name. This allows variables to carry the names of other variables into what would be a non-standard evaluation situation. This adaption allows some parametric or standard-evaluation effects in such circumstances.

Usage

ateval(.)

Arguments

.

character text of expression or block to evaluate

Details

Note: this method uses string substitution and is willing to substitute in arbitrary content, please prefer using let where applicable.

Notation idea: Jonathan Carroll https://jcarroll.com.au https://twitter.com/carroll_jono/status/842142292253196290 Similar to: https://dev.mysql.com/doc/refman/5.7/en/user-variables.html.

See Also

let