title: R changing format of scale on y-axis
body: <p>I have a plot that has $-amounts and dates on y and x axis respectively.  Currently the dollar amounts range from $0-15 million.  Something like this:</p>
  
  <pre><code>x &lt;- rnorm(20)^2 * 1000000
  plot(x)
  </code></pre>
  
  <p>R does stuff like <code>'1.0e+07'</code> instead of <code>'10,000,000'</code> and also orients the text vertically instead of horizontally.  </p>
  
  <p>My questions are:</p>
  
  <p>1) how would I get the scale text to be horizontally oriented?</p>
  
  <p>2) how would I get R to use <code>10MM</code> instead of <code>'10,000,000'</code> or <code>'1.0e+07'</code>?</p>