title: Pipe in magrittr package is not working for function load()
body: <p>It seem <code>%&gt;%</code> in the <em>magrittr</em> package is not working for the function <code>load()</code>. This is my minimal example to reproduce my question.</p>
  
  <pre><code>## Create two example variables and save to tempdir()
  a &lt;- 1
  b &lt;- 1
  
  save(list = ls(), file = file.path(tempdir(), 'tmp.RData'))
  
  ## Remove all variables and load into global environment
  # rm(list = ls())
  
  load(file.path(tempdir(), 'tmp.RData'))
  ls()
  # [1] "a" "b"
  
  # Write the same code with pipe "%&gt;%", but not variable is loaded
  # rm(list =ls())
  library(magrittr)
  
  tempdir() %&gt;% file.path('tmp.RData') %&gt;% load
  ls()
  # character(0)
  </code></pre>
  
  <p>I don't understand why the pipe is not working for <code>load()</code>. Thanks for any suggestions. </p>