added an ugly script for making R_vs_E data