title: Is it possible to run a function without giving it an object?
body: <p>I'm wondering if there are any functions, that run a function.</p>
  
  <p>For example if the simplest function I could write is something like:</p>
  
  <pre><code>function(){
    print("hello world")
  }
  </code></pre>
  
  <p>However as far as I know the only way to "run" this function is to run something like:</p>
  
  <pre><code>my_fun &lt;- function(){
    print("hello world")
  }
  
  my_fun()
  </code></pre>
  
  <p>Is there a way to achieve this result without giving the function an object? Intuitively I think this is not too different than what <code>%&gt;%</code> does, but I'm having trouble thinking about how to do this. Is there a function that I could pipe into to run this function without giving it it's own object?</p>