title: R: Barchart with specific values
body: <pre><code>Name    Amount
  AAAA    5.6
  BBBB    1.2
  CCCC    7.8
  DDDD    3.4
  </code></pre>
  
  <p>I have the above very simple set of data.  How can I make a barchart in R where the bars are the heights of the values in Amount?  For example, I would have bar AAAA with a Y value of 5.6, bar BBBB with a Y value of 1.2, etc.  I have used barplot before, but only in conjunction with the table function, which doesn't help me in this case.</p>
  
  <p>Thanks!</p>