Tracked down an issue with the files in the slave processes not writing
the last line to the combined file and altered the R script to be able
to run it from the command line in Linux for QC.