title: How to separate the two leftmost bins of a histogram in R
body: <p>Suppose I need to plot a dataset like below:</p>
  
  <pre><code>set.seed(1)
  dataset &lt;- sample(1:7, 1000, replace=T)
  hist(dataset)
  </code></pre>
  
  <p>As you can see in the plot below, the two leftmost bins do not have any space between them unlike the rest of the bins. </p>
  
  <p><img src="https://i.stack.imgur.com/REw9P.png" alt="enter image description here"></p>
  
  <p>I tried changing xlim, but it didn't work. Basically I would like to have each number (1 to 7) represented as a bin, and additionally, I would like any two adjacent bins to have space beween them...Thanks!</p>