title: Function names evaluated as text in legend in R?
body: <p>I was wondering how I could have <code>d</code> in my <strong><em>R code below</em></strong> be used in <code>legend</code>?</p>
  
  <p>Note that the reason I don't use <code>d = c("dnorm", "dcauchy")</code> is that in my actual code I need to use <code>d[[1]](0)</code> which doesn't work with quotations.</p>
  
  <pre><code>plot(1)
  d = c(dnorm, dcauchy)
  legend("topleft", legend = d) ## HERE how can I have the two terms:
                                ## dnorm and dcauchy in `d` appear as legend?
  </code></pre>