Why is a protonated carboxylic acid less acidic than a protonated ester?

To my understanding, both have analogous resonance structures except that the ester has on -OR and the carboxylic acid has an -OH. Why is a positive charge on C-O-R more stable than on C-O-H?


