Infix attribute accessor
Please use the %@%
operator exported in rlang. It has an
interface more consistent with @
: uses NSE, supports S4 fields,
and has an assignment variant.
x %@% name
x |
Object |
name |
Attribute name |
factor(1:3) %@% "levels" mtcars %@% "class"
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.