is it better to rent or buy a home

Even with interest rates at near historic lows, affordability is still a serious problem. Is renting or buying the better option in the current market?