added R scripts and parser scripts