The evolution of the Mira variable R Hydrae