Use R for parse chart