Working Rthreshml, without parsing outfile.