-
Notifications
You must be signed in to change notification settings - Fork 158
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
%>>% pipe for piping last argument #192
Comments
That looks like a useful function, but is there an equivalent to For example, if there's a function |
That's ok. Just like with R where There is no ability to pass a named argument. Would be great if |
You can pass to named arguments in positions other than first already in
`%>%` using the `.` operator in place of the argument you need to replace
(see the `%>%` help for more details).
Very useful when needing to pass to functions in positions other than first
argument, pretty much anything before tidyverse approaches became
widespread!
|
You could do :
|
%>>% is already used by pipeR as the primary pipe operator. Plus as mattmalin stated Apologies for necroposting. |
Though not as frequently as piping first argument it's often needed to pipe the last argument.
Would you mind adding the
%>>%
operator?>>
because in clojure these operators are->
and->>
respectively. Racket uses f> and l>.The text was updated successfully, but these errors were encountered: