Carbonate chemistry with R