title: Indian Style thousand separator in ggplot2 chart axes
body: <p><a href="https://en.wikipedia.org/wiki/Indian_numbering_system#Use_of_separators" rel="nofollow noreferrer">Indian style thousand separators</a> are used like this.  First separator at 3 digits (thousands) but thereafter separator at every two digits.</p>
  <pre><code>1
  10
  100
  1,000
  10,000
  1,00,000
  10,00,000
  1,00,00,000
  10,00,00,000
  </code></pre>
  <p>I know that I can change/format axes in ggplot2 chart by using <code>scale_y_continuous(labels = scales::comma)</code></p>
  <p>But how can I change the thousand separator placeholder in r ggplot2 chart axes according to Indian formats as described above.</p>
  <p>A sample example</p>
  <pre class="lang-r prettyprint-override"><code>library(tidyverse)
  iris %&gt;%
    mutate(Petal.Length= Petal.Length*100000) %&gt;%
    ggplot(aes(x= Species, y = Petal.Length)) +
    geom_col() +
    scale_y_continuous(labels = scales::comma)
  </code></pre>
  <p><img src="https://i.imgur.com/8KVfFS1.png" alt="" /></p>
  <p><sup>Created on 2021-06-28 by the <a href="https://reprex.tidyverse.org" rel="nofollow noreferrer">reprex package</a> (v2.0.0)</sup></p>