The R version of CharAnalysis