%land% and %->% ("writearrow") copy a pipeline value to a variable on the right hand side. %land_% and %->_% copy a pipeline value to a variable named by the value referenced by its right hand side argument.

value %land% name

value %->% name

value %->_% name

value %land_% name

Arguments

value

value to write

name

variable to write to

Value

value

Details

Technically these operators are not "-> assignment", so they might not be specifically prohibited in an oppugnant reading of some style guides.

Examples

sin(7) %->% z1 sin(7) %->_% 'z2' varname <- 'z3' sin(7) %->_% varname