Menu Home

rquery Substitution

The rquery R package has several places where the user can ask for what they have typed in to be substituted for a name or value stored in a variable. This becomes important as many of the rquery commands capture column names from un-executed code. So knowing if something is […]

More on Macros in R

Recently ran into something interesting in the R macros/quasi-quotation/substitution/syntax front: Romain Fran├žois: “.@_lionelhenry reveals planned double curly syntax At #satRdayParis as a possible replacement, addition to !! and enquo()” It appears !! is no longer the last word in substitution (it certainly wasn’t the first).

Parameterizing with bquote

One thing that is sure to get lost in my long note on macros in R is just how concise and powerful macros are. The problem is macros are concise, but they do a lot for you. So you get bogged down when you explain the joke. Let’s try to […]