Can use both pipes
This commit is contained in:
parent
7d02fba904
commit
cb4cda5ae4
|
@ -112,3 +112,5 @@ But they're still good to know about even if you've never used `%>%` because you
|
|||
- `%>%` allows you to drop the parentheses when calling a function with no other arguments; `|>` always requires the parentheses.
|
||||
|
||||
- `%>%` allows you to start a pipe with `.` to create a function rather than immediately executing the pipe; this is not supported by the base pipe.
|
||||
|
||||
Luckily there's no need to commit entirely to one pipe or the other --- you can use the base pipe for the majority of cases where it's sufficient, and use the magrittr pipe when you really need its special features.
|
||||
|
|
Loading…
Reference in New Issue