title: cut function in R- labeling without scientific notations for use in ggplot2
body: <p>I use cut and classIntervals to group data in R which I later plot with ggplot2. So a basic operation cutting by quantiles with n=3 would look like this:</p>
  
  <pre><code>library(classInt)
  
  a&lt;-c(1,10,100,1000,100000,1000000)
  b&lt;-cut(a, 
  breaks=data.frame(
    classIntervals(
      a,n=3,method="quantile")[2])[,1],
  include.lowest=T)
  </code></pre>
  
  <p>where <code>b</code> would be:</p>
  
  <pre><code>[1] [1,70]          [1,70]          (70,3.4e+04]    (70,3.4e+04]    (3.4e+04,1e+06] (3.4e+04,1e+06]
  Levels: [1,70] (70,3.4e+04] (3.4e+04,1e+06]
  </code></pre>
  
  <p>so the first line of this output is a vector with my grouped data which I can use in ggplot2. But rather than having this vector in scientific notation I would like the labels to be <code>[1,70] (70,34000] (3400,1000000]</code></p>
  
  <p>How can I achive that?Any help would be appreciated, also if you have other methods rather than cut and classInt to achive the same result.</p>