gmDatabase (version 0.5.0)

findVarsInExpression: findVarsInExpression

Description

parses expressions and returns the variables

Usage

findVarsInExpression(EXPR)

Arguments

EXPR
a call object representing an R expression

Value

A string consisting of the variables.

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.

See Also

replaceVarsInExpression, gmReadInternal

Examples

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

Run the code above in your browser using DataLab