![This is what I want](https://i.stack.imgur.com/lexMT.png "example of what I want")How to make R side by side two column histogram (above) which I am able to do in python ([image taken from here](https://stackoverflow.com/questions/6871201/plot-two-histograms-on-single-chart-with-matplotlib)) and all the answers I have found for R get ![this result](https://i.stack.imgur.com/I11Cq.png "what I am getting")[image taken from here](https://stackoverflow.com/questions/3541713/how-to-plot-two-histograms-together-in-r)

I tried searching for answers on stackoverflow and just google in general but no one seemed to be able to tell me how to make the histogram I want.