Histogram Struggle

You have definitely written this in (one of) the right place.

We probably should have a bit more information on exactly what you are doing. It is often easy to do something in many different ways in R.

Here are some suggestions: