R is Getting an Official Pipe Operator

[This article was first published on R – Win Vector LLC, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

It looks like R is getting an official pipe operator (ref). R doesn’t work under an RFC process, so we hear about these things and they are discussed on the R-devel mailing list.

I’ve written on this topic before (ref), and I have taped some new comments.

(link)

My feeling is: argument inserting syntax translation is indeed a tempting way to go. I think this misses some great coding opportunities that arise when one can guarantee the piped entity is a realized value and also use placeholders. Also a lot is lost when one fails to work out some of the niceties in piping into expressions instead of just functions. But, I understand nobody has asked me.

Function oriented syntax transform appears to be both what RStudio wants, and what R-core is implementing (please keep in mind, these are two different actors in the R-space). So it is what it is.

To leave a comment for the author, please follow the link and comment on their blog: R – Win Vector LLC.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)