R scripts for Quaternary scientists