R scripts and output files for first three components