Learn R Programming

backpipe (version 0.2.3)

backpipe: backpipe

Description

Creates backpiping operators

Usage

backpipe(pipe, backpipe = gsub(">", "

Arguments

pipe

character; string representing the existing pipe operator

backpipe

character; string representing the desired backpipe operator

Details

Only pipe is necessary. Arbitrary mixing of forward and reverse are not allowed.

References

https://github.com/smbache/magrittr/issues/26 http://stackoverflow.com/questions/31305342/is-right-to-left-operator-associativity-in-r-possible

See Also

%>% %>>%

Examples

Run this code
# NOT RUN {
  backpipe('%>%')
  backpipe('%>>%', '%<<%')
                    
# }

Run the code above in your browser using DataLab