title: Can I access the assignment of a function from inside that function?
body: <p>I want to turn the assignment into a string and have it be one of the outputs of the function.</p>
  
  <p><strong>Input:</strong></p>
  
  <pre><code>y &lt;- f(x)
  </code></pre>
  
  <p><strong>Desired Output:</strong></p>
  
  <pre><code>"y"
  </code></pre>
  
  <p>I thought maybe <code>sys.call()</code> would help but it doesn't seem to include the assignment. </p>