Extracts the expression containing a dollar symbol.
Usage
extractDollarExpressions(EXPR)
Arguments
EXPR
an R expression
Details
extractDollarExpressions extracts the expression containing a dollar symbol. Furthermore it provides an alias for it. This function is meant for internal use in gmReadInternal, when dollar expressions occur in bracket terms.
Value
Returns a structure, containing the whole expression using the alias instead of the original dollar expression in expr and the dollar expression itself in dollarExpr.