title: Differences between %.% (dplyr) and %>% (magrittr)
body: <p>The <code>dplyr</code> package introduced the <code>%.%</code> operator to pass the left hand side as an argument of the function on the right hand side, similar to a *NIX pipe.  The <code>magrittr</code> package is a much more lightweight package that exists to define only that pipe-like operator.</p>
  
  <p>Yet one uses <code>%.%</code> and the other <code>%&gt;%</code>.  </p>
  
  <p><strong>Is there any difference between the two?  Can I just use <code>%&gt;%</code> even in <code>dplyr</code> code, or will that cause subtle bugs?</strong></p>
  
  <p>On inspecting the code, they take very different paths early on, so simple eyeball comparison would suggest that they're different.  I haven't been able to find anything documented when I search the web for them, nor have I run across anything in the documentation itself.</p>