update rChartsClass.R to fix file error