update R code for processing paleotrees