R and PNG files for Plots 1-4