Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use magrittr #330

Closed
hadley opened this issue Mar 17, 2014 · 2 comments
Closed

Use magrittr #330

hadley opened this issue Mar 17, 2014 · 2 comments
Labels
feature a feature request or enhancement
Milestone

Comments

@hadley
Copy link
Member

hadley commented Mar 17, 2014

No description provided.

@hadley hadley added this to the v0.2 milestone Mar 17, 2014
@piccolbo
Copy link

The only problem I have with magrittr is that it calls a pipe with another name. It's been a pipe since the 70s why do we have to call it %.% or %>% or whatever? Are we trying to pretend we invented the wheel or what is the reason to make up a new name? It's wonderful that R is flexible enough and programmers creative enough to import a useful and popular Unix idiom into the language but I don't see why we can't recognize its origin and leverage existing familiarity with Unix. My vote is for %|% (overloading | seems like a lost cause).

@hadley
Copy link
Member Author

hadley commented Apr 9, 2014

Looks like best method is to import %>% from magrittr and then re-export it.

@piccolbo unfortunately I think that ship has sailed, and dplyr will definitely use %>%. You can always make your own local alias if you really hate it.

@hadley hadley closed this as completed in 89aaa9a Apr 14, 2014
krlmlr pushed a commit to krlmlr/dplyr that referenced this issue Mar 2, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants