Auto save and load of R-history.