Last data update: 2014.03.03

R: 'findVarsInExpression'
findVarsInExpressionR Documentation

findVarsInExpression

Description

parses expressions and returns the variables

Usage

findVarsInExpression(EXPR)

Arguments

EXPR

a call object representing an R expression

Details

findVarsInExpression takes a call and returns the names. It is used in gmReadInternal for parsing an R expression of an SQL query for variables.

Value

A string consisting of the variables.

Author(s)

K. Gerald van den Boogaart, S. Matos Camacho

See Also

replaceVarsInExpression, gmReadInternal

Examples

a <- quote( A==B^C+A^2+C )
findVarsInExpression(a)

Results