title: Binning decimal data and plotting an histogram
body: <p>I have a dataset in a file, which looks like this:</p>
  
  <pre><code>0.0707526823
  0.4859753978
  0.0084166789
  0.0694709558
  0.0156410467
  0.3783259831
  0.8977261856
  0.7981824881
  0.2079852045
  0.9498437264
  0.9264972044
  0.1878358734
  0.0020816686
  0.0024611297
  0.4250464895
  0.0725748666
  0.0407962054
  0.8282363221
  0.8408343333
  0.7129760016
  0.2772250135
  0.3677588953
  0.4723908637
  0.9452814318
  </code></pre>
  
  <p>I want to bin this data with an interval of 0.1 and plot a histogram. </p>
  
  <p>I did try using R,</p>
  
  <p>and here what I was doing</p>
  
  <pre><code>x&lt;-read.table("filex", header=T)
  breaks=seq (min, max, step)
  hist (x$col1, breaks)
  </code></pre>
  
  <p>but this command is not working in my case :(  </p>
  
  <p>Any one liner in awk, or R is welcomed</p>
  
  <p>Thank you</p>